Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit44fd9e59bd

README.md

Cubemap Env

A chrome-ball environment surface that samples a cubemap for mirror-like reflections, built on @builtin::shaders.cubemap_unlit. reflect_mode (1.0) selects the reflection path, and the Ryfjallet_cubemap builtin texture supplies the environment. Opaque, with a white base colour (1.0, 1.0, 1.0) so the cubemap colours pass through untinted.

Inputs

  • textures.base_color_texture (@builtin/textures/Ryfjallet_cubemap) — the environment cubemap that is reflected.
  • floats.reflect_mode (1.0) — selects the reflection sampling mode.
  • colors.base_color — white tint that leaves the reflected colours unchanged.