Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [wgsl]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Dark spot glitch in normal mapping shader - WebGPU

I'm implementing a normal mapping PBR shader using WebGPU, but I'm getting a strange dark spot and visual glitches. My scene consists of a cube with a brick texture which has a normal map, as well as ...
realmayus's user avatar
1 vote
1 answer
121 views

Padding in a vec3f array in WebGPU memory layout

I'm trying to write a WGSL structs parser (sort of webgpu-utils thing). In order to better understand the memory layout, I'm using wgsl offset computer as a helper. Having the next struct: ...
Michael Sazonov's user avatar