1
0

Added some more example shaders

This commit is contained in:
m11
2026-02-04 19:29:12 +01:00
parent 59d282b3cc
commit 41b04481aa
6 changed files with 296 additions and 35 deletions

10
shaders/gradient.frag Normal file
View File

@@ -0,0 +1,10 @@
// https://www.shadertoy.com/new
void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
vec2 uv = fragCoord/iResolution.xy;
vec3 col = 0.5 + 0.5*cos(iTime+uv.xyx+vec3(0,2,4));
fragColor = vec4(col,1.0);
}