Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
1.0.0:postfx [2023/02/23 14:35] – [PostFX] admin | 1.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){...}" | - Write GLSL shader code using "vec3 SurfaceShader(inout TLocals DATA){...}" | ||
- | 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: | ||
</ | </ | ||
+ | Source: [[https:// | ||
===== 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:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * ... |