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

SFEX.render.computeDynamicLighting

C๐Ÿท๏ธ Render

Part of StarfallEx namespace

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

Description

Calculates the lighting caused by dynamic lights for the specified 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.