render.ComputeDynamicLighting

From Garry's Mod
Jump to: navigation, search
 render.ComputeDynamicLighting( )

Contents

Description

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

Arguments

Vector position

The position to sample from.

Arguments

Vector normal

The normal of the surface.

Returns

Vector

A vector representing the light at that point.
Personal tools
Navigation