Revision Difference
render.ComputeLighting#568060
<function name="ComputeLighting" parent="render" type="libraryfunc">
<description>Calculates the light color of a certain surface.</description>⤶
<description>Calculates the light color of a certain surface.⤶
⤶
See also <page>render.ComputeDynamicLighting</page>.</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>
Garry's Mod
Rust
Steamworks
Wiki Help