Skip to content

Commit

Permalink
#86 Anti Aliasing (FXAA)
Browse files Browse the repository at this point in the history
  • Loading branch information
ducphamhong committed Oct 6, 2020
1 parent 518c82d commit 9b597af
Show file tree
Hide file tree
Showing 8 changed files with 2,326 additions and 28 deletions.
13 changes: 13 additions & 0 deletions Assets/BuiltIn/Shader/PostProcessing/FXAA.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<shaderConfig name="FXAA" baseShader="SOLID">
<uniforms>
<vs>
<uniform name="uMvpMatrix" type="WORLD_VIEW_PROJECTION" value="0" float="16" matrix="true"/>
</vs>
<fs>
<uniform name="uSourceTex" type="DEFAULT_VALUE" value="0" float="1" directX="false"/>
<uniform name="uRCPFrame" type="MATERIAL_PARAM" valueIndex="0" value="0,0" float="2"/>
</fs>
</uniforms>
<shader type="GLSL" vs="GLSL/FXAAVS.glsl" fs="GLSL/FXAAFS.glsl"/>
<shader type="HLSL" vs="HLSL/FXAAVS.hlsl" fs="HLSL/FXAAFS.hlsl"/>
</shaderConfig>
Loading

0 comments on commit 9b597af

Please sign in to comment.