Revision Difference
render.BindLocalCubemap#568292
<function name="BindLocalCubemap" parent="render" type="libraryfunc">⤶
<description>⤶
Binds a given texture as a cubemap. The texture given must be a cubemap texture.⤶
⤶
This is useful in context of drawing models manually (<page>Entity:DrawModel</page>), especially in GUI applications.⤶
⤶
<rendercontext hook="false" type="3D"></rendercontext>⤶
</description>⤶
<added>2026.08.26</added>⤶
<realm>Client</realm>⤶
<args>⤶
<arg name="texName" type="string">The path to the texture (`.vtf`) to use, e.g. `editor/cubemap`.⤶
⤶
The function will automatically select the `.hdr` version of the texture based on player's current settings.⤶
</arg>⤶
</args>⤶
</function>⤶
Garry's Mod
Rust
Steamworks
Wiki Help