dneto, 1 month ago @ypujante In the fragment shader pos.x and pos.y are framebuffer coordinates. https://www.w3.org/TR/WGSL/#position-builtin-value And follow the framebuffer link to the WebGPU spec to confirm. https://gpuweb.github.io/gpuweb/#framebuffer
@ypujante In the fragment shader pos.x and pos.y are framebuffer coordinates.
https://www.w3.org/TR/WGSL/#position-builtin-value
And follow the framebuffer link to the WebGPU spec to confirm. https://gpuweb.github.io/gpuweb/#framebuffer