floorPaint.computeShader
- .metadata17 B
- README.md442 B
- bindings.yaml741 B
- shader.wgsl5.7 KB
README.md
floorPaint
Painted Valley's floor.js paintFloor (blendi/painted-valley, MIT) as a compute shader: the farmland picture the far ground wears (fields, hedges, the village yard, the roads), one thread a texel, written as the original's sRGB bytes into a u32 buffer that paintedValley.far.floor reads back and mipmaps. The roads' stencil comes in from the CPU. Uses paintedValley.core.valleyLand for the land's hash, fbm and fieldsAt.