material_2d
2D: how a sprite, tilemap or backdrop_2d answers 2D light, and its effects. mode "unlit", "lit" (painted art) or "lit_pixel" (pixel art: stepped light on the art's own pixels). normal: "" uses
In scene text
material_2d { mode "…" normal "…" normal_strength 1 }Add it in the Inspector (Add Component), in scene text as above, or ask your AI. Fields you leave out keep their defaults.
Fields 22
| Field | Type | Unit / range | What it does |
|---|---|---|---|
mode | text | — | lit |
normal | text | — | |
normal_strength | number | 0 … 8 | How strongly the normal map tilts the light. |
bevel | number | px, 0 … 128 | Auto normals: how wide the rounded edge is (image pixels). |
relief | number | 0 … 4 | Auto normals: how much the art's own shading reads as relief. |
emissive | text | — | |
emissive_color | colour (r, g, b) | — | Multiplies the glow's colour. |
emissive_intensity | number | 0 … 64 | How bright the glow is (0: none). |
emissive_threshold | number | 0 … 1 | Auto glow: how bright a pixel must be to glow. |
bloom | number | 0 … 16 | How much of its glow blooms into a halo. |
specular | number | 0 … 4 | Shine (0 matte ... 1 wet; shows with a normal map). |
shininess | number | 1 … 512 | Highlight size: 4 broad ... 128 a pin point. |
bands | number | 0 … 32 | lit_pixel: how many steps the light falls into (0: 4). |
light_mask | number | 1 … 65535 | Light layers it receives (bit mask). |
receive_shadows | true / false | — | Darkened by shadows from occluders. |
flash | number | 0 … 1 | Effect: flash toward flash_color (a hit). |
flash_color | colour (r, g, b) | — | Flash colour. |
dissolve | number | 0 … 1 | Effect: burned away (0 whole ... 1 gone), edge glowing dissolve_color. |
dissolve_color | colour (r, g, b) | — | The burning edge's colour. |
dissolve_width | number | 0 … 1 | How wide the burning edge is. |
heat | number | units, 0 … 200 | Effect: heat haze (world units of shimmer); the object bends what's behind it instead of drawing itself. |
heat_speed | number | 0 … 20 | How fast the haze shimmers. |
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us