render.ComputeDynamicLighting

From Garry's Mod
Revision as of 19:02, 23 December 2014 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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