Vulkan fragment shader: ant new infinity plasma. More...
Go to the source code of this file.
Macros | |
| #define | amp_peak ext.u2.w |
| #define | amp_smooth ext.u3.w |
| #define | iResolution ext.u0.zw |
| #define | iTime ext.u0.y |
Functions | |
| layout (set=0, binding=1, std140) uniform SpriteExtended | |
| layout (location=0) in vec2 tc | |
| layout (set=0, binding=0) uniform sampler2D samp | |
| vec3 | rainbow (float t) |
| Evaluates rainbow for this shader effect. | |
| mat2 | rot (float a) |
| Evaluates rot for this shader effect. | |
| vec2 | kaleido (vec2 p, float seg) |
| Evaluates kaleido for this shader effect. | |
| vec2 | mirror (vec2 u) |
| Evaluates mirror for this shader effect. | |
| void | main () |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
| const float | PI = 3.14159265 |
Vulkan fragment shader: ant new infinity plasma.
Definition in file ant_new_infinity_plasma.frag.
| #define amp_peak ext.u2.w |
Definition at line 13 of file ant_new_infinity_plasma.frag.
| #define amp_smooth ext.u3.w |
Definition at line 14 of file ant_new_infinity_plasma.frag.
| #define iResolution ext.u0.zw |
Definition at line 15 of file ant_new_infinity_plasma.frag.
| #define iTime ext.u0.y |
Definition at line 16 of file ant_new_infinity_plasma.frag.
| vec2 kaleido | ( | vec2 | p, |
| float | seg ) |
Evaluates kaleido for this shader effect.
| p | Input value for the calculation. |
| seg | Input value for the calculation. |
Definition at line 59 of file ant_new_infinity_plasma.frag.
Referenced by effectField(), feedbackTransform(), kaleido(), kaleido(), kaleido(), kaleido(), kaleido(), kaleido(), kaleido(), kaleido(), kaleido(), kaleido(), kaleido(), main(), main(), mirrorField(), remixDomain(), renderEnergy(), sampleFractal(), sampleHybrid(), sampleLiquidFractal(), sampleLiquidRainbow(), sampleMerged(), sampleSuperShader(), sampleWarp(), trailUV(), and xenolith().
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 0 ) |
References layout(), and spectrum().
| layout | ( | set | = 0, |
| binding | = 1, | ||
| std140 | ) |
Definition at line 3 of file ant_new_infinity_plasma.frag.
References layout().
| void main | ( | void | ) |
Executes the fragment shader entry point.
Definition at line 80 of file ant_new_infinity_plasma.frag.
References amp_peak, amp_smooth, iResolution, iTime, kaleido(), main(), mirror(), rainbow(), rot(), and spectrum().
| vec2 mirror | ( | vec2 | u | ) |
Evaluates mirror for this shader effect.
| u | Input value for the calculation. |
Definition at line 72 of file ant_new_infinity_plasma.frag.
References mirror().
| vec3 rainbow | ( | float | t | ) |
Evaluates rainbow for this shader effect.
| t | Input value for the calculation. |
Definition at line 42 of file ant_new_infinity_plasma.frag.
References rainbow().
| mat2 rot | ( | float | a | ) |
Evaluates rot for this shader effect.
| a | Input value for the calculation. |
Definition at line 51 of file ant_new_infinity_plasma.frag.
References rot().
| ext |
Definition at line 12 of file ant_new_infinity_plasma.frag.
| const float PI = 3.14159265 |
Definition at line 35 of file ant_new_infinity_plasma.frag.