Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
1.0.0:postfx [2023/02/23 14:35] – [PostFX] admin1.0.0:postfx [2023/02/23 14:41] (current) – [Shaders] admin
Line 17: Line 17:
   - Write GLSL shader code using "vec3 SurfaceShader(inout TLocals DATA){...}" as entry function   - Write GLSL shader code using "vec3 SurfaceShader(inout TLocals DATA){...}" as entry function
  
-Here is some nice television post effect for the surface shader:+Here is some nice television post-effect for the surface shader.  
 + 
 +Just copy & paste into **GorillaRenderPassPostFX1.SurfaceShader** property editor:
  
 <file glsl> <file glsl>
Line 92: Line 94:
 </file> </file>
  
 +Source: [[https://www.shadertoy.com/view/XtK3W3]]
 ===== Runtime ===== ===== Runtime =====
  
Line 136: Line 139:
 |DATA.WorldViewProjVertPos|vec4|World-View-Projected vertex position of the post effect plane.| |DATA.WorldViewProjVertPos|vec4|World-View-Projected vertex position of the post effect plane.|
 |DATA.Normal|vec3|Normal vector of the post effect plane.| |DATA.Normal|vec3|Normal vector of the post effect plane.|
 +
 +==== Links ====
 +
 +You can find many free shaders in the web with less need of change.
 +  * https://www.shadertoy.com/
 +  * https://glslsandbox.com/
 +  * https://shaderpark.com/
 +  * ...