Log inGet started
Package

grass.material

Newest version

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

README.md

Grass

A soft green ground surface built on @builtin::shaders.grass_material, with a natural green base colour (0.22, 0.62, 0.16), high roughness (0.75) for a diffuse, non-shiny look, and no metallic or emissive contribution. It inherits the Rust-side render defaults (opaque, back-face culled, queue 2000) so its pipeline matches the library variant compiled at startup. It leaves the shader's sway at its default of 0, so it shades whatever geometry it is applied to and leaves every vertex where the mesh puts it; @builtin::materials.grass_blades is the same green on a blade mesh that bends.

Inputs

  • colors.base_color (0.22, 0.62, 0.16, 1.0) — the grass green tint.
  • floats.roughness (0.75) — matte, diffuse surface.
  • floats.metallic (0.0) / floats.emissive (0.0) — non-metallic, non-glowing.