Skip to content

Commit

Permalink
shader tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
arcadeperfect committed Dec 6, 2024
1 parent 9e78dbd commit ad8c897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shaders/extract.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ fn main(@builtin(global_invocation_id) global_id: vec3<u32>) {

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

0 comments on commit ad8c897

Please sign in to comment.