Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit44fd9e59bd

README.md

Water

An animated water surface with a deep blue base colour (0.1, 0.3, 0.8) and low roughness (0.2) for glossy, reflective highlights, driven by a scrolling normal map for wave detail. Opaque, back-face culled, instanced, in the opaque queue (2000). Built on @builtin::shaders.water_material, sampling @builtin/textures/water_normals.

Inputs

  • colors.base_color (0.1, 0.3, 0.8) — the water body colour.
  • floats.roughness (0.2) — low roughness for sharp specular reflections.
  • floats.metallic (0.0) — dielectric surface.
  • textures.normal_texture — the wave normal map (@builtin/textures/water_normals).