Vulkan fragment shader: water hq 01 caustic shallows. More...
Go to the source code of this file.
Macros | |
| #define | time_f ext.u2.y |
Functions | |
| layout (set=0, binding=1, std140) uniform SpriteExtended | |
| layout (location=0) in vec2 tc | |
| layout (set=0, binding=0) uniform sampler2D samp | |
| vec2 | safeUV (vec2 p) |
| Evaluates safeUV for this shader effect. | |
| float | surface (vec2 p, float t) |
| Evaluates surface for this shader effect. | |
| void | main (void) |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
Vulkan fragment shader: water hq 01 caustic shallows.
Definition in file water_hq_01_caustic_shallows.frag.
| #define time_f ext.u2.y |
Definition at line 17 of file water_hq_01_caustic_shallows.frag.
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 0 ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 1, | ||
| std140 | ) |
Definition at line 7 of file water_hq_01_caustic_shallows.frag.
References layout().
| void main | ( | void | ) |
| vec2 safeUV | ( | vec2 | p | ) |
Evaluates safeUV for this shader effect.
| p | Input value for the calculation. |
Definition at line 29 of file water_hq_01_caustic_shallows.frag.
References safeUV().
Referenced by main(), refractedTexture(), and safeUV().
| float surface | ( | vec2 | p, |
| float | t ) |
| ext |
Definition at line 16 of file water_hq_01_caustic_shallows.frag.