a little polishing

This commit is contained in:
Justin Garza
2024-12-17 20:34:49 -05:00
parent 002e7258f6
commit 020516e0da
5 changed files with 63 additions and 22 deletions
+1 -2
View File
@@ -136,7 +136,6 @@ void main() {
progress, 0.0, ((uSize.x + (uPadding*2.0)) / uSize.x)
,0.0, 1.0
);
progress = clamp(progress,0.0,1.0);
}
@@ -196,7 +195,7 @@ void main() {
vec3 color = cos(progress*uColorSpeed+uv.xyx+vec3(0,2,4)).xyz;
//coloroffset
float colorOffset = (uRandomColorOffset) ? hash12(uSeed) : uColorOffset ;
color = offsetHue(color, colorOffset);
color = offsetHue(color, colorOffset + 0.10);
//clamp and saturate
color = clamp(color * uColorSaturation,vec3(0.0),vec3(1.0));