Builtin Library
- ..
- .metadata233 B
- README.md700 B
- mat.yaml1.0 KB
- preview.png81.5 KB
README.md
Parallax Cube (Flat)
A brick surface built on @builtin::shaders.pbr_parallax_occlusion with parallax_depth_scale = 0, so the ray-march is bypassed and the shared brick textures render as plain textured PBR (rough 0.7, non-metallic, white base colour). Opaque, back-face culled, queue 2000. Pair it with parallax_cube to A/B the parallax effect from a fixed viewpoint.
Inputs
floats.parallax_depth_scale(0.0) — disables the occlusion ray-march, flattening the surface.floats.roughness(0.7) — matte brick finish.floats.normal_scale(1.0) — strength of the normal map.textures.height_texture— the brick height map (unused while depth scale is0).