Part of StarfallEx namespace
๐ External
render.computeLighting(pos, normal)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Calculates the light color of a certain surface
Parameters
| Name | Type | Description |
|---|---|---|
pos | Vector | Vector position to sample from |
normal | Vector | Normal vector of the surface |
Returns
| Type | Description |
|---|---|
Vector | Vector representing color of the light |
Examples
No examples available.
Used In
No usages found in the codebase.