Vulkan fragment shader: gem-rainbow-metal3-slider. 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 | iResolution ext.u0.zw |
| #define | iamp ext.u1.z |
| #define | slider1 ext.custom_uniforms[5].x |
| #define | slider2 ext.custom_uniforms[5].y |
| #define | slider3 ext.custom_uniforms[5].z |
| #define | slider4 ext.custom_uniforms[5].w |
| #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 | |
| vec3 | colorPalette (float t) |
| Evaluates colorPalette for this shader effect. | |
| void | main (void) |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
Vulkan fragment shader: gem-rainbow-metal3-slider.
Definition in file gem-rainbow-metal3-slider.frag.
| #define amp_high ext.audio_bands.z |
Definition at line 17 of file gem-rainbow-metal3-slider.frag.
| #define amp_low ext.audio_bands.x |
Definition at line 18 of file gem-rainbow-metal3-slider.frag.
| #define amp_mid ext.audio_bands.y |
Definition at line 19 of file gem-rainbow-metal3-slider.frag.
| #define amp_peak ext.u2.w |
Definition at line 20 of file gem-rainbow-metal3-slider.frag.
| #define amp_rms ext.u3.z |
Definition at line 21 of file gem-rainbow-metal3-slider.frag.
| #define amp_smooth ext.u3.w |
Definition at line 22 of file gem-rainbow-metal3-slider.frag.
| #define iamp ext.u1.z |
Definition at line 24 of file gem-rainbow-metal3-slider.frag.
| #define iResolution ext.u0.zw |
Definition at line 23 of file gem-rainbow-metal3-slider.frag.
| #define slider1 ext.custom_uniforms[5].x |
Definition at line 25 of file gem-rainbow-metal3-slider.frag.
Referenced by effectField(), and main().
| #define slider2 ext.custom_uniforms[5].y |
Definition at line 26 of file gem-rainbow-metal3-slider.frag.
Referenced by effectField(), heightField(), main(), and main().
| #define slider3 ext.custom_uniforms[5].z |
Definition at line 27 of file gem-rainbow-metal3-slider.frag.
| #define slider4 ext.custom_uniforms[5].w |
Definition at line 28 of file gem-rainbow-metal3-slider.frag.
| #define time_f ext.u2.y |
Definition at line 29 of file gem-rainbow-metal3-slider.frag.
| vec3 colorPalette | ( | float | t | ) |
Evaluates colorPalette for this shader effect.
| t | Input value for the calculation. |
Definition at line 59 of file gem-rainbow-metal3-slider.frag.
References colorPalette().
Referenced by colorPalette(), and main().
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 0 ) |
References layout(), and spectrum().
| layout | ( | set | = 0, |
| binding | = 1, | ||
| std140 | ) |
Definition at line 7 of file gem-rainbow-metal3-slider.frag.
References layout().
| void main | ( | void | ) |
Executes the fragment shader entry point.
Definition at line 66 of file gem-rainbow-metal3-slider.frag.
References amp_high, amp_low, amp_mid, amp_peak, amp_rms, amp_smooth, colorPalette(), iResolution, main(), rainbow(), ripple(), slider1, slider2, slider3, slider4, spectrum(), time_f, and wave().
| ext |
Definition at line 16 of file gem-rainbow-metal3-slider.frag.