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.)); }