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

Vulkan fragment shader: abc. More...

Go to the source code of this file.

Macros

#define amp   ext.u1.y
#define iMouse   ext.mouse
#define iResolution   ext.u0.zw
#define time_f   ext.u2.y
#define uamp   ext.u1.y

Functions

 layout (set=0, binding=1, std140) uniform SpriteExtended
 layout (location=0) out vec4 color
 layout (set=0, binding=0) uniform sampler2D samp
void main (void)
 Executes the fragment shader entry point.

Variables

 ext

Detailed Description

Vulkan fragment shader: abc.

Definition in file abc.frag.

Macro Definition Documentation

◆ amp

#define amp   ext.u1.y

Definition at line 17 of file abc.frag.

Referenced by fbm(), getDatamosh(), glitchEffect(), main(), main(), starMetric(), and tremor().

◆ iMouse

#define iMouse   ext.mouse

Definition at line 18 of file abc.frag.

◆ iResolution

#define iResolution   ext.u0.zw

Definition at line 19 of file abc.frag.

◆ time_f

#define time_f   ext.u2.y

Definition at line 20 of file abc.frag.

◆ uamp

#define uamp   ext.u1.y

Definition at line 21 of file abc.frag.

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

Function Documentation

◆ layout() [1/3]

layout ( location = 0)

References layout().

◆ layout() [2/3]

layout ( set = 0,
binding = 0 )

References layout().

◆ layout() [3/3]

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

Definition at line 7 of file abc.frag.

References layout().

◆ main()

void main ( void )

Executes the fragment shader entry point.

Definition at line 35 of file abc.frag.

References glitchOffset(), iMouse, iResolution, main(), time_f, and uamp.

Variable Documentation

◆ ext

ext

Definition at line 16 of file abc.frag.