Vulkan fragment shader: huei af2. More...
Go to the source code of this file.
Macros | |
| #define | iMouse ext.mouse |
| #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 l) |
| Evaluates pingPong for this shader effect. | |
| float | hash (vec2 p) |
| Evaluates hash for this shader effect. | |
| float | noise (vec2 p) |
| Evaluates noise for this shader effect. | |
| vec3 | rainbow (float t) |
| Evaluates rainbow for this shader effect. | |
| vec2 | kaleido (vec2 uv, vec2 c, float seg, vec2 ar) |
| Evaluates kaleido for this shader effect. | |
| vec2 | vortex (vec2 uv, vec2 c, float t) |
| Evaluates vortex for this shader effect. | |
| vec4 | blur9 (sampler2D img, vec2 uv, vec2 res) |
| Evaluates blur9 for this shader effect. | |
| float | luma (vec3 c) |
| Evaluates luma for this shader effect. | |
| void | main () |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
Vulkan fragment shader: huei af2.
Definition in file huei_af2.frag.
| #define iMouse ext.mouse |
Definition at line 17 of file huei_af2.frag.
| #define iResolution ext.u0.zw |
Definition at line 18 of file huei_af2.frag.
| #define time_f ext.u2.y |
Definition at line 19 of file huei_af2.frag.
| vec4 blur9 | ( | sampler2D | img, |
| vec2 | uv, | ||
| vec2 | res ) |
Evaluates blur9 for this shader effect.
| img | Input value for the calculation. |
| uv | Input value for the calculation. |
| res | Input value for the calculation. |
Definition at line 97 of file huei_af2.frag.
References blur9().
| float hash | ( | vec2 | p | ) |
Evaluates hash for this shader effect.
| p | Input value for the calculation. |
Definition at line 40 of file huei_af2.frag.
References hash().
| vec2 kaleido | ( | vec2 | uv, |
| vec2 | c, | ||
| float | seg, | ||
| vec2 | ar ) |
Evaluates kaleido for this shader effect.
| uv | Input value for the calculation. |
| c | Input value for the calculation. |
| seg | Input value for the calculation. |
| ar | Input value for the calculation. |
Definition at line 62 of file huei_af2.frag.
References kaleido().
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 0 ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 1, | ||
| std140 | ) |
Definition at line 7 of file huei_af2.frag.
References layout().
| float luma | ( | vec3 | c | ) |
Evaluates luma for this shader effect.
| c | Input value for the calculation. |
Definition at line 117 of file huei_af2.frag.
References luma().
| void main | ( | void | ) |
| float noise | ( | vec2 | p | ) |
Evaluates noise for this shader effect.
| p | Input value for the calculation. |
Definition at line 46 of file huei_af2.frag.
| float pingPong | ( | float | x, |
| float | l ) |
Evaluates pingPong for this shader effect.
| x | Input value for the calculation. |
| l | Input value for the calculation. |
Definition at line 34 of file huei_af2.frag.
References pingPong().
| vec3 rainbow | ( | float | t | ) |
Evaluates rainbow for this shader effect.
| t | Input value for the calculation. |
Definition at line 52 of file huei_af2.frag.
References rainbow().
| vec2 vortex | ( | vec2 | uv, |
| vec2 | c, | ||
| float | t ) |
Evaluates vortex for this shader effect.
| uv | Input value for the calculation. |
| c | Input value for the calculation. |
| t | Input value for the calculation. |
Definition at line 80 of file huei_af2.frag.
References vortex().
Referenced by crown_field(), effectField(), H(), main(), main(), and vortex().
| ext |
Definition at line 16 of file huei_af2.frag.