Garry's Mod Wiki

Revision Difference

render.ComputeDynamicLighting#512996

<function name="ComputeDynamicLighting" parent="render" type="libraryfunc">⤶ <description>Calculates the lighting caused by dynamic lights for the specified surface.</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>⤶ ⤶