Rendering

DecalDefinition

A DecalDefinition holds what a single Decal should look like. It describes its color, normals, roughness, metalness and ambient occlusion. If you define a Height texture, it will define its parallax too.

ParameterMeaning
TintTint the color of the decal.
Color MixIf 1 the Color texture will be full alpha, if 0 it will be invisible. Useful if you just want normals.
Width, HeightThe size the decal should appear in the world by default.

Source: Facepunch/sbox-docs (CC-BY-4.0) · updated 2025-06-26. Read it rendered on the official docs.

More in Rendering

Community wiki — not affiliated with Facepunch Studios. For the latest and most authoritative information, see the official developer wiki.