From ad8c897eadf8aacc348cdaf1afcbfde1409b1cd1 Mon Sep 17 00:00:00 2001 From: arcadeperfect Date: Fri, 6 Dec 2024 12:09:04 -0500 Subject: [PATCH] shader tweak --- src/shaders/extract.wgsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shaders/extract.wgsl b/src/shaders/extract.wgsl index 8504784..2de0b99 100644 --- a/src/shaders/extract.wgsl +++ b/src/shaders/extract.wgsl @@ -26,5 +26,5 @@ fn main(@builtin(global_invocation_id) global_id: vec3) { let current = textureLoad(input_texture, upos); - textureStore(output_texture, upos, vec4f(1.- current.x,1.,1.,1.)); + textureStore(output_texture, upos, vec4f(1.- current.x,current.y,current.z,1.)); }