Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.render.computeLighting

C๐Ÿท๏ธ Render

Part of StarfallEx namespace

๐Ÿ”— External
render.computeLighting(pos, normal)
View on GitHub|lua/starfall/libs_cl/render.lua:2626
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Calculates the light color of a certain surface

Parameters

NameTypeDescription
posVectorVector position to sample from
normalVectorNormal vector of the surface

Returns

TypeDescription
VectorVector representing color of the light

Examples

No examples available.

Used In

No usages found in the codebase.