Vulkan fragment shader: air-bowl. 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 | seed ext.custom_uniforms[2].z |
| #define | time_f ext.u2.y |
| #define | uamp ext.u1.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 | h1 (float n) |
| Evaluates h1 for this shader effect. | |
| vec2 | h2 (vec2 p) |
| Evaluates h2 for this shader effect. | |
| vec2 | rot (vec2 v, float a) |
| Evaluates rot for this shader effect. | |
| float | pingPong (float x, float length) |
| Evaluates pingPong for this shader effect. | |
| void | main (void) |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
Vulkan fragment shader: air-bowl.
Definition in file air-bowl.frag.
| #define amp ext.u1.y |
Definition at line 17 of file air-bowl.frag.
| #define iMouse ext.mouse |
Definition at line 18 of file air-bowl.frag.
| #define iResolution ext.u0.zw |
Definition at line 19 of file air-bowl.frag.
| #define seed ext.custom_uniforms[2].z |
Definition at line 20 of file air-bowl.frag.
Referenced by cell_data(), deepOrbit(), drawRandomJulia(), electricalFold(), glitchOffset(), ion_cells(), largeFractalFold(), lightning(), main(), main(), network(), perceptualField(), rainbow(), rainLayer(), rand(), randomPos(), swirl(), and voronoi_data().
| #define time_f ext.u2.y |
Definition at line 21 of file air-bowl.frag.
| #define uamp ext.u1.y |
Definition at line 22 of file air-bowl.frag.
| float h1 | ( | float | n | ) |
Evaluates h1 for this shader effect.
| n | Input value for the calculation. |
Definition at line 39 of file air-bowl.frag.
Referenced by fastBlurRot(), h1(), main(), and main().
| vec2 h2 | ( | vec2 | p | ) |
Evaluates h2 for this shader effect.
| p | Input value for the calculation. |
Definition at line 45 of file air-bowl.frag.
References h2().
Referenced by h2(), h2(), main(), main(), and sampleLiquidSlot().
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 0 ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 1, | ||
| std140 | ) |
Definition at line 7 of file air-bowl.frag.
References layout().
| void main | ( | void | ) |
Executes the fragment shader entry point.
Definition at line 68 of file air-bowl.frag.
References amp, C(), h2(), iMouse, iResolution, main(), mir(), pingPong(), rot(), seed, time_f, and uamp.
| float pingPong | ( | float | x, |
| float | length ) |
Evaluates pingPong for this shader effect.
| x | Input value for the calculation. |
| length | Input value for the calculation. |
Definition at line 60 of file air-bowl.frag.
References pingPong().
| vec2 rot | ( | vec2 | v, |
| float | a ) |
Evaluates rot for this shader effect.
| v | Input value for the calculation. |
| a | Input value for the calculation. |
Definition at line 52 of file air-bowl.frag.
References rot().
Referenced by abyssalOpal(), acidFire(), deepOrbit(), diamonds(), dynamic_trail_transform(), dynamic_trail_transform(), emberStorm(), fbm(), fbm6(), flowNoise(), fogTunnel(), foldField(), fractalLayer(), fractalZoom(), hueShift(), inkBloom(), lavaCrack(), liquidFractal(), main(), main(), mercuryFractal(), mirrorField(), oilSlick(), plasmaFlame(), remixDetail(), remixDomain(), renderBaseBuddabrot(), renderEnergy(), rot(), rot(), rot(), rot(), smokeStack(), styleDrift(), styleWarp(), triFractal(), triPoints(), triTile(), and xenolith().
| ext |
Definition at line 16 of file air-bowl.frag.