Builtin Library
- ..
- README.md392 B
- preview.png27.2 KB
- properties.yaml1.7 KB
- shader.wgsl4.2 KB
README.md
detailSurface.shader
A metallic-roughness surface with two texture sets at independent scales, and a
stochastic property that switches sampling from straight UVs to a randomised
triangular lattice.
The sampling and normal-blending maths come from @builtin::shaderModules.texturing, so any other
shader combining two normal maps or breaking a tiling grid uses the same
implementation.