Vulkan fragment shader: water hq 06 pool caustics. 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 | caustic (vec2 p) |
| Evaluates caustic for this shader effect. | |
| void | main (void) |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
Vulkan fragment shader: water hq 06 pool caustics.
Definition in file water_hq_06_pool_caustics.frag.
| #define time_f ext.u2.y |
Definition at line 17 of file water_hq_06_pool_caustics.frag.
| float caustic | ( | vec2 | p | ) |
Evaluates caustic for this shader effect.
| p | Input value for the calculation. |
Definition at line 37 of file water_hq_06_pool_caustics.frag.
References caustic(), and time_f.
Referenced by abyssalOpal(), caustic(), main(), and main().
| 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_06_pool_caustics.frag.
References layout().
| void main | ( | void | ) |
Executes the fragment shader entry point.
Definition at line 49 of file water_hq_06_pool_caustics.frag.
| vec2 safeUV | ( | vec2 | p | ) |
Evaluates safeUV for this shader effect.
| p | Input value for the calculation. |
Definition at line 29 of file water_hq_06_pool_caustics.frag.
References safeUV().
| ext |
Definition at line 16 of file water_hq_06_pool_caustics.frag.