nuclide/Documentation/Materials/commands/program.md

14 lines
531 B
Markdown
Raw Normal View History

2022-10-03 00:10:54 +00:00
# Materials: Commands {#mat_commands}
## program
**program** defines which GLSL/HLSL shader to load for a defined
material. It also accepts arguments that will recompile a shader with
certain permutations. This is kinda ugly,
Starting in [The Wastes](The_Wastes) 1.2, there are the
following shader programs available to you:
- program [unlit](unlit_(Shader))
- program [lightmapped](lightmapped_(Shader))
- program [vertexlit](vertexlit_(Shader))
- program [water](water_(Shader))
- program [refract](refract_(Shader))