Garry's Mod Wiki

Revision Difference

render.ComputeLighting#512974

<function name="ComputeLighting" parent="render" type="libraryfunc">⤶ <description>Calculates the light color of a certain surface.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="position" type="Vector">The position of the surface to get the light from.</arg>⤶ <arg name="normal" type="Vector">The normal of the surface to get the light from.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="Vector">A vector representing the light at that point.</ret>⤶ </rets>⤶ </function>⤶ ⤶