Vulkan fragment shader: deeps1. More...
Go to the source code of this file.
Macros | |
| #define | iResolution ext.u0.zw |
| #define | time_f ext.u2.y |
Functions | |
| layout (set=0, binding=1, std140) uniform SpriteExtended | |
| layout (location=0) out vec4 color | |
| layout (set=0, binding=0) uniform sampler2D samp | |
| float | pingPong (float x, float length) |
| Evaluates pingPong for this shader effect. | |
| vec2 | polarDistort (vec2 uv) |
| Evaluates polarDistort for this shader effect. | |
| vec4 | fractalColor (vec2 uv) |
| Evaluates fractalColor for this shader effect. | |
| void | main (void) |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
| const float | PI = 3.14159265359 |
Vulkan fragment shader: deeps1.
Definition in file deeps1.frag.
| #define iResolution ext.u0.zw |
Definition at line 17 of file deeps1.frag.
| #define time_f ext.u2.y |
Definition at line 18 of file deeps1.frag.
| vec4 fractalColor | ( | vec2 | uv | ) |
Evaluates fractalColor for this shader effect.
| uv | Input value for the calculation. |
Definition at line 66 of file deeps1.frag.
References fractalColor(), and time_f.
Referenced by blendMaterials(), fractalColor(), 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 deeps1.frag.
References layout().
| void main | ( | void | ) |
Executes the fragment shader entry point.
Definition at line 84 of file deeps1.frag.
References fractalColor(), main(), pingPong(), polarDistort(), and time_f.
| float pingPong | ( | float | x, |
| float | length ) |
Evaluates pingPong for this shader effect.
| x | Input value for the calculation. |
| length | Input value for the calculation. |
Definition at line 34 of file deeps1.frag.
References pingPong().
| vec2 polarDistort | ( | vec2 | uv | ) |
Evaluates polarDistort for this shader effect.
| uv | Input value for the calculation. |
Definition at line 44 of file deeps1.frag.
References fractal(), polarDistort(), and time_f.
Referenced by main(), and polarDistort().
| ext |
Definition at line 16 of file deeps1.frag.
| const float PI = 3.14159265359 |
Definition at line 26 of file deeps1.frag.