Garry's Mod Wiki

Revision Difference

render.ComputeDynamicLighting#568059

<function name="ComputeDynamicLighting" parent="render" type="libraryfunc"> <description>Calculates the lighting caused by dynamic lights for the specified surface.</description>⤶ <description>Calculates the lighting caused by dynamic lights for the specified surface.⤶ See also <page>render.ComputeLighting</page>.⤶ </description>⤶ <realm>Client</realm> <args> <arg name="position" type="Vector">The position to sample from.</arg> <arg name="normal" type="Vector">The normal of the surface.</arg> </args> <rets> <ret name="" type="Vector">A vector representing the light at that point.</ret> </rets> </function>