Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit44fd9e59bd

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 is 0).