Textures:Shaders

From Custom Map Makers Wiki
Revision as of 10:13, 20 August 2011 by Rylius (talk | contribs) (What is a shader?)
Jump to: navigation, search
Roadworks.png This page is work in progress!


What is a shader?

Shaders are short text scripts that define the properties of a surface as it appears and functions in a game world or radiant.

By convention, the documents that contain these scripts usually has the same name as the texture set which contains the textures being modified (e.g; ut4_mymap, bobsmap, castle, etc,). Several specific script documents have also been created to handle special cases, like liquids, sky and special effects.

These are called the common shaders. Their definition comes from a textfile, normally found in your mapping/scripts folder called common.shader.

The bitmap images for common shaders can be found in the File:Common-spog.pk3.

Reference

The complete manual is available here