Garry's Mod Wiki
Description
This shader was especially designed to be used with maps, in particular the cube maps(up, down, front, back, left, right), they allow to modify the ambiance of a map.
Parameters
number starlayers
Specifies how many layers of stars should be rendered. Accepts values between 0 and 4. 0 means no stars will be rendered
Example
A basic example that shows how to create a material with this shader and render it.
This particular example draws a custom skybox on top of the existing one.
It uses g_Sky
's default parameters as an example.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated twice a day. Edits and history are not available.
Last Parsed: Loading...