Vulkan fragment shader: frac shader01 dark. More...
Go to the source code of this file.
Macros | |
| #define | amp_high ext.audio_bands.z |
| #define | amp_low ext.audio_bands.x |
| #define | amp_mid ext.audio_bands.y |
| #define | amp_peak ext.u2.w |
| #define | amp_rms ext.u3.z |
| #define | amp_smooth ext.u3.w |
| #define | iMouse ext.mouse |
| #define | iResolution ext.u0.zw |
| #define | iamp ext.u1.z |
| #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 | rotateUV (vec2 uv, float angle, vec2 c, float aspect) |
| Evaluates rotateUV for this shader effect. | |
| vec2 | reflectUV (vec2 uv, float segments, vec2 c, float aspect) |
| Evaluates reflectUV for this shader effect. | |
| vec2 | fractalFold (vec2 uv, float zoom, float t, vec2 c, float aspect) |
| Evaluates fractalFold for this shader effect. | |
| vec3 | hsv2rgb (vec3 c) |
| Evaluates hsv2rgb for this shader effect. | |
| vec3 | movingGradient (vec2 uv, vec2 c, float t, float aspect) |
| Evaluates movingGradient for this shader effect. | |
| vec2 | triFold (vec2 uv, vec2 c, float aspect) |
| Evaluates triFold for this shader effect. | |
| float | diamondRadius (vec2 p) |
| Evaluates diamondRadius for this shader effect. | |
| float | luma (vec3 c) |
| Evaluates luma for this shader effect. | |
| vec3 | bilateral9 (vec2 uv, float radiusScale, float sigma_r) |
| Evaluates bilateral9 for this shader effect. | |
| float | localVar9 (vec2 uv, float radiusScale) |
| Evaluates localVar9 for this shader effect. | |
| void | main () |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
Vulkan fragment shader: frac shader01 dark.
Definition in file frac_shader01_dark.frag.
| #define amp_high ext.audio_bands.z |
Definition at line 17 of file frac_shader01_dark.frag.
| #define amp_low ext.audio_bands.x |
Definition at line 18 of file frac_shader01_dark.frag.
| #define amp_mid ext.audio_bands.y |
Definition at line 19 of file frac_shader01_dark.frag.
| #define amp_peak ext.u2.w |
Definition at line 20 of file frac_shader01_dark.frag.
| #define amp_rms ext.u3.z |
Definition at line 21 of file frac_shader01_dark.frag.
| #define amp_smooth ext.u3.w |
Definition at line 22 of file frac_shader01_dark.frag.
| #define iamp ext.u1.z |
Definition at line 25 of file frac_shader01_dark.frag.
| #define iMouse ext.mouse |
Definition at line 23 of file frac_shader01_dark.frag.
| #define iResolution ext.u0.zw |
Definition at line 24 of file frac_shader01_dark.frag.
| #define time_f ext.u2.y |
Definition at line 26 of file frac_shader01_dark.frag.
| vec3 bilateral9 | ( | vec2 | uv, |
| float | radiusScale, | ||
| float | sigma_r ) |
Evaluates bilateral9 for this shader effect.
| uv | Input value for the calculation. |
| radiusScale | Input value for the calculation. |
| sigma_r | Input value for the calculation. |
Definition at line 186 of file frac_shader01_dark.frag.
References bilateral9(), iResolution, and luma().
Referenced by bilateral9(), bilateral9(), main(), and main().
| float diamondRadius | ( | vec2 | p | ) |
Evaluates diamondRadius for this shader effect.
| p | Input value for the calculation. |
Definition at line 167 of file frac_shader01_dark.frag.
References diamondRadius().
| vec2 fractalFold | ( | vec2 | uv, |
| float | zoom, | ||
| float | t, | ||
| vec2 | c, | ||
| float | aspect ) |
Evaluates fractalFold for this shader effect.
| uv | Input value for the calculation. |
| zoom | Input value for the calculation. |
| t | Input value for the calculation. |
| c | Input value for the calculation. |
| aspect | Input value for the calculation. |
Definition at line 100 of file frac_shader01_dark.frag.
References amp_low, fractalFold(), and rotateUV().
| vec3 hsv2rgb | ( | vec3 | c | ) |
Evaluates hsv2rgb for this shader effect.
| c | Input value for the calculation. |
Definition at line 114 of file frac_shader01_dark.frag.
References hsv2rgb().
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 0 ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 1, | ||
| std140 | ) |
Definition at line 7 of file frac_shader01_dark.frag.
References layout().
| float localVar9 | ( | vec2 | uv, |
| float | radiusScale ) |
Evaluates localVar9 for this shader effect.
| uv | Input value for the calculation. |
| radiusScale | Input value for the calculation. |
Definition at line 219 of file frac_shader01_dark.frag.
References iResolution, localVar9(), luma(), and n().
Referenced by localVar9(), and main().
| float luma | ( | vec3 | c | ) |
Evaluates luma for this shader effect.
| c | Input value for the calculation. |
Definition at line 177 of file frac_shader01_dark.frag.
References luma().
| void main | ( | void | ) |
Executes the fragment shader entry point.
Definition at line 242 of file frac_shader01_dark.frag.
References amp_high, amp_low, amp_peak, amp_rms, bilateral9(), bloom(), diamondRadius(), fractalFold(), hsv2rgb(), hue(), iMouse, iResolution, localVar9(), main(), movingGradient(), pingPong(), reflectUV(), rotateUV(), sat(), screenBlend(), time_f, and triFold().
| vec3 movingGradient | ( | vec2 | uv, |
| vec2 | c, | ||
| float | t, | ||
| float | aspect ) |
Evaluates movingGradient for this shader effect.
| uv | Input value for the calculation. |
| c | Input value for the calculation. |
| t | Input value for the calculation. |
| aspect | Input value for the calculation. |
Definition at line 128 of file frac_shader01_dark.frag.
References h(), hsv2rgb(), movingGradient(), S(), and V().
| 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 48 of file frac_shader01_dark.frag.
References pingPong().
| vec2 reflectUV | ( | vec2 | uv, |
| float | segments, | ||
| vec2 | c, | ||
| float | aspect ) |
Evaluates reflectUV for this shader effect.
| uv | Input value for the calculation. |
| segments | Input value for the calculation. |
| c | Input value for the calculation. |
| aspect | Input value for the calculation. |
Definition at line 78 of file frac_shader01_dark.frag.
References reflectUV().
| vec2 rotateUV | ( | vec2 | uv, |
| float | angle, | ||
| vec2 | c, | ||
| float | aspect ) |
Evaluates rotateUV for this shader effect.
| uv | Input value for the calculation. |
| angle | Input value for the calculation. |
| c | Input value for the calculation. |
| aspect | Input value for the calculation. |
Definition at line 61 of file frac_shader01_dark.frag.
References rotateUV().
| vec2 triFold | ( | vec2 | uv, |
| vec2 | c, | ||
| float | aspect ) |
Evaluates triFold for this shader effect.
| uv | Input value for the calculation. |
| c | Input value for the calculation. |
| aspect | Input value for the calculation. |
Definition at line 149 of file frac_shader01_dark.frag.
References triFold().
| ext |
Definition at line 16 of file frac_shader01_dark.frag.