Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...