ACMX Vulkan Shader Library
GLSL 4.50 shader effects for ACMX's Vulkan renderer
Loading...
Searching...
No Matches
twist_audio_ex_chromatic.frag File Reference

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

Detailed Description

Vulkan fragment shader: twist audio ex chromatic.

Definition in file twist_audio_ex_chromatic.frag.

Macro Definition Documentation

◆ time_f

#define time_f   ext.u2.y

Definition at line 17 of file twist_audio_ex_chromatic.frag.

Function Documentation

◆ layout() [1/3]

layout ( location = 0)

References layout().

◆ layout() [2/3]

layout ( set = 0,
binding = 0 )

References layout(), and spectrum().

◆ layout() [3/3]

layout ( set = 0,
binding = 1,
std140  )

Definition at line 7 of file twist_audio_ex_chromatic.frag.

References layout().

◆ main()

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().

◆ twistAt()

vec2 twistAt ( vec2 uv,
float strength )

Evaluates twistAt for this shader effect.

Parameters
uvInput value for the calculation.
strengthInput value for the calculation.
Returns
Computed vec2 value.

Definition at line 32 of file twist_audio_ex_chromatic.frag.

References strength, time_f, and twistAt().

Referenced by main(), twistAt(), and twistAt().

Variable Documentation

◆ ext

ext

Definition at line 16 of file twist_audio_ex_chromatic.frag.