Garry's Mod Wiki

render.ComputeDynamicLighting

Vector render.ComputeDynamicLighting( Vector position, Vector normal )

Description

Calculates the lighting caused by dynamic lights for the specified surface.

Arguments

1 Vector position
The position to sample from.
2 Vector normal
The normal of the surface.

Returns

1 Vector
A vector representing the light at that point.

Page Links


Special Pages


Wikis

?

Render Time: 38ms

DB GetPage 5
Generate Html 10
SaveChanges (1) 8
Render Body 0
Render Sidebar 12