The packed G-buffer one geometry pass writes (rgba32float, exact integers in the float lanes):
x, y octahedral world normal (front-facing)
z round(roughness * 1023) + round(metallic * 255) * 1024
w round(r * 255) + round(g * 255) * 256 + round(b * 255) * 65536 (linear base colour)
Read with Pixi3DFrame (./frame.ts), which unpacks it into the contract's textures.
The packed G-buffer one geometry pass writes (rgba32float, exact integers in the float lanes): x, y octahedral world normal (front-facing) z round(roughness * 1023) + round(metallic * 255) * 1024 w round(r * 255) + round(g * 255) * 256 + round(b * 255) * 65536 (linear base colour) Read with
Pixi3DFrame(./frame.ts), which unpacks it into the contract's textures.