Vulkan fragment shader: twist audio ex chromatic. 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 | twistAt (vec2 uv, float strength) |
| Evaluates twistAt for this shader effect. | |
| void | main (void) |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
Vulkan fragment shader: twist audio ex chromatic.
Definition in file twist_audio_ex_chromatic.frag.
| #define time_f ext.u2.y |
Definition at line 17 of file twist_audio_ex_chromatic.frag.
| 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 twist_audio_ex_chromatic.frag.
References layout().
| void main | ( | void | ) |
Executes the fragment shader entry point.
Definition at line 44 of file twist_audio_ex_chromatic.frag.
References main(), ripple(), spectrum(), time_f, and twistAt().
| vec2 twistAt | ( | vec2 | uv, |
| float | strength ) |
Evaluates twistAt for this shader effect.
| uv | Input value for the calculation. |
| strength | Input value for the calculation. |
Definition at line 32 of file twist_audio_ex_chromatic.frag.
| ext |
Definition at line 16 of file twist_audio_ex_chromatic.frag.