Documentation / Node reference / code nodes
code/LightingModelLambert
Shades a matte surface with the scene lights.
Lights
Outputs the colour of a matte surface lit by the scene's lights. Light spreads evenly, with no highlight.
Parameters
| Name | Type | What it does |
|---|---|---|
| color | Color | Surface colour. |
| worldPos | Vector3 | Position to shade. Unwired, the point being shaded. |
| normal | Vector3 | Surface normal. Unwired, the shaded point's normal. |
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.