Vulkan fragment shader: code-update-aurora-cathedral. 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 | |
| mat2 | R (float a) |
| Evaluates R for this shader effect. | |
| float | h (vec2 p) |
| Evaluates h for this shader effect. | |
| float | n (vec2 p) |
| Evaluates n for this shader effect. | |
| vec3 | pal (float t) |
| Evaluates pal for this shader effect. | |
| void | main () |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
| const float | TAU = 6.28318530718 |
Vulkan fragment shader: code-update-aurora-cathedral.
Definition in file code-update-aurora-cathedral.frag.
| #define amp_peak ext.u2.w |
Definition at line 17 of file code-update-aurora-cathedral.frag.
| #define amp_smooth ext.u3.w |
Definition at line 18 of file code-update-aurora-cathedral.frag.
| #define iResolution ext.u0.zw |
Definition at line 19 of file code-update-aurora-cathedral.frag.
| #define iTime ext.u0.y |
Definition at line 20 of file code-update-aurora-cathedral.frag.
| float h | ( | vec2 | p | ) |
Evaluates h for this shader effect.
| p | Input value for the calculation. |
Definition at line 44 of file code-update-aurora-cathedral.frag.
References h().
Referenced by concept_field(), effectField(), emberStorm(), fastBlurRot(), getNormal(), H(), h(), h(), h2(), hexCoord(), hsvToRgb(), hue(), hue2rgb(), main(), main(), movingGradient(), n(), normalAt(), normalAt(), oilSlick(), plasmaFlame(), sampleLiquidSlot(), shade(), shadeMercury(), styleDrift(), surface(), text(), and waterNormal().
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 0 ) |
References layout(), and spectrum().
| layout | ( | set | = 0, |
| binding | = 1, | ||
| std140 | ) |
Definition at line 7 of file code-update-aurora-cathedral.frag.
References layout().
| void main | ( | void | ) |
Executes the fragment shader entry point.
Definition at line 68 of file code-update-aurora-cathedral.frag.
References amp_peak, amp_smooth, iResolution, iTime, main(), n(), pal(), R(), spectrum(), and TAU.
| float n | ( | vec2 | p | ) |
Evaluates n for this shader effect.
| p | Input value for the calculation. |
Definition at line 52 of file code-update-aurora-cathedral.frag.
Referenced by acidFire(), anisotropicSpecular(), cells(), chromeLighting(), compositeEffect(), concept_field(), continuousUv(), fbm(), fbm(), fractalNoise(), h(), h1(), h2(), hash(), hash1(), hash2(), hash22(), iridescentMetal(), kaleido(), lighting(), localVar9(), main(), main(), mandelbrot(), metalLight(), moltenLighting(), n(), rand(), rand2D(), randomColor(), shade(), shadeMercury(), shadeSilver(), smokeStack(), spec(), specularLobe(), starMetric(), styleDrift(), voronoi(), and xorRGB_neon().
| vec3 pal | ( | float | t | ) |
Evaluates pal for this shader effect.
| t | Input value for the calculation. |
Definition at line 62 of file code-update-aurora-cathedral.frag.
Referenced by fogTunnel(), fractalLayer(), liquidFractal(), main(), main(), mercuryFractal(), pal(), pal(), renderEnergy(), sampleHybrid(), sampleMerged(), and smokeStack().
| mat2 R | ( | float | a | ) |
Evaluates R for this shader effect.
| a | Input value for the calculation. |
Definition at line 35 of file code-update-aurora-cathedral.frag.
References R().
Referenced by adjustHue(), corona(), field(), main(), main(), R(), R(), renderLayer(), renderLayer(), and rotateHue().
| ext |
Definition at line 16 of file code-update-aurora-cathedral.frag.
| const float TAU = 6.28318530718 |
Definition at line 29 of file code-update-aurora-cathedral.frag.