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

Vulkan fragment shader: ol. More...

Go to the source code of this file.

Macros

#define frequency   ext.custom_uniforms[6].x
#define iMouse   ext.mouse
#define iResolution   ext.u0.zw
#define strength   ext.custom_uniforms[6].y
#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
void main ()
 Executes the fragment shader entry point.

Variables

 ext

Detailed Description

Vulkan fragment shader: ol.

Definition in file ol.frag.

Macro Definition Documentation

◆ frequency

◆ iMouse

#define iMouse   ext.mouse

Definition at line 14 of file ol.frag.

◆ iResolution

#define iResolution   ext.u0.zw

Definition at line 15 of file ol.frag.

◆ strength

◆ time_f

#define time_f   ext.u2.y

Definition at line 17 of file ol.frag.

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 3 of file ol.frag.

References layout().

◆ main()

void main ( void )

Executes the fragment shader entry point.

Definition at line 37 of file ol.frag.

References frequency, iMouse, main(), noise(), strength, and time_f.

Variable Documentation

◆ ext

ext

Definition at line 12 of file ol.frag.