From c7c07beb765c00c6358af14294b016dc5f0f531c Mon Sep 17 00:00:00 2001 From: vgaNAR6ta Date: Sun, 2 Aug 2026 20:54:48 +0200 Subject: [PATCH] Ajustement shader ouverture --- status/index.ouvert.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/status/index.ouvert.html b/status/index.ouvert.html index 2416098..e2a1a9c 100644 --- a/status/index.ouvert.html +++ b/status/index.ouvert.html @@ -36,7 +36,7 @@ void main() { highp float waveSize = 10.0; highp vec2 coords = (uCanvasSize.xy * vTextureCoord.xy) / waveSize; highp float lum = abs(sin(coords.y-uTime)) + 0.631372549; - lowp float opacity = 0.5; + lowp float opacity = 0.25; gl_FragColor = vec4( 0.0, @@ -44,8 +44,6 @@ void main() { 0.0, 1.0 ); - - gl_FragColor = hue_rotate(gl_FragColor, 13.12); gl_FragColor = vec4( gl_FragColor.rgb * opacity, @@ -56,7 +54,9 @@ void main() { highp vec4 videoPix = clamp(( grayscale(texture2D(uVideo, videoCoords), 1.0) * 2.0 ), vec4(0), vec4(1)); videoPix *= 0.777; - gl_FragColor = abs( videoPix - gl_FragColor ); + gl_FragColor = abs( (videoPix*1.2) - gl_FragColor ); + + gl_FragColor.xyz *= 0.9; gl_FragColor.a = 1.0; }