Log inGet started
Package

custom_textured.material

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

Custom Textured

A textured opaque surface built on @builtin::shaders.custom_material, sampling the array_texture builtin over a warm peach base colour (1.0, 0.8, 0.6). Non-metallic (metallic 0.0) at mid roughness (0.5) — a worked example of pairing a custom shader with an array texture.

Inputs

  • textures.base_color_texture (@builtin/textures/array_texture) — the sampled array texture.
  • colors.base_color: the warm peach colour the texture is multiplied by.
  • floats.roughness (0.5) — diffuse spread.
  • floats.metallic (0.0) — dielectric surface.