mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-17 05:49:30 -07:00
Making some comments in the WebGPU rainPass and changing the "effect=none" view to be easier on the eyes.
This commit is contained in:
@@ -79,7 +79,7 @@ void main() {
|
||||
float alpha = clamp(sigDist/fwidth(sigDist) + 0.5, 0.0, 1.0);
|
||||
|
||||
if (showComputationTexture) {
|
||||
gl_FragColor = vec4(glyph.rgb * alpha, 1.0);
|
||||
gl_FragColor = vec4(glyph.rgb - alpha, 1.0);
|
||||
} else {
|
||||
gl_FragColor = vec4(vChannel * brightness * alpha, 1.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user