Vulkan fragment shader: dmd gpt. More...
Go to the source code of this file.
Macros | |
| #define | iResolution ext.u0.zw |
Functions | |
| layout (set=0, binding=1, std140) uniform SpriteExtended | |
| layout (location=0) in vec2 tc | |
| layout (set=0, binding=0) uniform sampler2D samp | |
| float | diamond (vec2 p) |
| Evaluates diamond for this shader effect. | |
| void | main (void) |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
Vulkan fragment shader: dmd gpt.
Definition in file dmd_gpt.frag.
| #define iResolution ext.u0.zw |
Definition at line 17 of file dmd_gpt.frag.
| float diamond | ( | vec2 | p | ) |
Evaluates diamond for this shader effect.
| p | Input value for the calculation. |
Definition at line 29 of file dmd_gpt.frag.
References diamond().
Referenced by concept_field(), crown_field(), darkstar_wrap(), diamond(), diamond_warp(), effect_field(), foldWave(), heightField(), main(), and main().
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 0 ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 1, | ||
| std140 | ) |
Definition at line 7 of file dmd_gpt.frag.
References layout().
| void main | ( | void | ) |
Executes the fragment shader entry point.
Definition at line 38 of file dmd_gpt.frag.
References diamond(), iResolution, main(), and tiles().
| ext |
Definition at line 16 of file dmd_gpt.frag.