Vulkan fragment shader: codex neon topography. More...
Go to the source code of this file.
Macros | |
| #define | iMouse ext.mouse |
| #define | iResolution ext.u0.zw |
| #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 | |
| float | luminance (vec3 c) |
| Evaluates luminance for this shader effect. | |
| void | main (void) |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
Vulkan fragment shader: codex neon topography.
Definition in file codex_neon_topography.frag.
| #define iMouse ext.mouse |
Definition at line 17 of file codex_neon_topography.frag.
| #define iResolution ext.u0.zw |
Definition at line 18 of file codex_neon_topography.frag.
| #define time_f ext.u2.y |
Definition at line 19 of file codex_neon_topography.frag.
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 0 ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 1, | ||
| std140 | ) |
Definition at line 7 of file codex_neon_topography.frag.
References layout().
| float luminance | ( | vec3 | c | ) |
Evaluates luminance for this shader effect.
| c | Input value for the calculation. |
Definition at line 33 of file codex_neon_topography.frag.
References luminance().
Referenced by color_scale(), comes_after(), comes_after(), luminance(), luminance(), luminance(), main(), and main().
| void main | ( | void | ) |
Executes the fragment shader entry point.
Definition at line 40 of file codex_neon_topography.frag.
References iMouse, iResolution, luminance(), main(), neon(), and time_f.
| ext |
Definition at line 16 of file codex_neon_topography.frag.