g_sky
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.