Add SMAA 1x

This commit is contained in:
Raymond DiDonato 2025-02-02 11:34:25 -05:00
parent a12e9d5c31
commit 6b99608950
25 changed files with 1156 additions and 10 deletions

View file

@ -598,7 +598,10 @@
<constant name="SCREEN_SPACE_AA_FXAA" value="1" enum="ScreenSpaceAA">
Use fast approximate antialiasing. FXAA is a popular screen-space antialiasing method, which is fast but will make the image look blurry, especially at lower resolutions. It can still work relatively well at large resolutions such as 1440p and 4K.
</constant>
<constant name="SCREEN_SPACE_AA_MAX" value="2" enum="ScreenSpaceAA">
<constant name="SCREEN_SPACE_AA_SMAA" value="2" enum="ScreenSpaceAA">
Use subpixel morphological antialiasing. SMAA may produce clearer results than FXAA, but at a slightly higher performance cost.
</constant>
<constant name="SCREEN_SPACE_AA_MAX" value="3" enum="ScreenSpaceAA">
Represents the size of the [enum ScreenSpaceAA] enum.
</constant>
<constant name="RENDER_INFO_OBJECTS_IN_FRAME" value="0" enum="RenderInfo">