Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit44fd9e59bd

README.md

Triplanar Checker

A checkerboard surface projected triplanarly, so the pattern stays uniform across arbitrary geometry with no UVs and no stretching. Neutral white base colour (1.0, 1.0, 1.0), half roughness (0.5), non-metallic, with a projection sharpness of 4.0 controlling how tightly the three axis projections blend at edges. Opaque, back-face culled, instanced, in the opaque queue (2000). Built on @builtin::shaders.triplanar, sampling @builtin/textures/array_texture.

Inputs

  • floats.triplanar_sharpness (4.0) — blend tightness between the X/Y/Z projections.
  • colors.base_color (1.0, 1.0, 1.0) — tint over the projected texture.
  • textures.base_color_texture — the projected checker source (@builtin/textures/array_texture).
  • floats.roughness (0.5) / floats.metallic (0.0) — dielectric, mid-gloss default.