@location(3) — the optional world-space normal stream (§53, §68).
Three, not the GL backend's layout(location = 1): this package's location
numbers are names (wgpu-unlit.ts's rule), 1 and 2 already name the
colour and uv streams, and reusing either for normals would give one number
two meanings across families — the confusion the future WGSL emitter
(RFC 0001) must not have to disambiguate.
@location(3)— the optional world-space normal stream (§53, §68).Three, not the GL backend's
layout(location = 1): this package's location numbers are names (wgpu-unlit.ts's rule), 1 and 2 already name the colour and uv streams, and reusing either for normals would give one number two meanings across families — the confusion the future WGSL emitter (RFC 0001) must not have to disambiguate.