Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tremulous:assets [2018/08/30 00:28] – [Shader resources] romdos | tremulous:assets [2021/01/25 16:23] (current) – romdos | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Intro to shaders | + | Intro to Shaders |
| What is a shader and what does it do, how is it used? | What is a shader and what does it do, how is it used? | ||
| + | |||
| + | The [[https:// | ||
| + | |||
| + | // | ||
| + | Shaders are short text scripts that define the properties of a surface as it appears and functions in a game world (or compatible editing tool). 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; base, hell, castle, etc,). Several specific script documents have also been created to handle special cases, like liquids, sky and special effects.// | ||
| + | |||
| + | |||
| + | |||
| + | For Tremulous, .shader files are located in the // | ||
| + | |||
| + | More info: | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| Examples: | Examples: | ||
| Line 76: | Line 91: | ||
| https:// | https:// | ||
| https:// | https:// | ||
| + | https:// | ||
| [[http:// | [[http:// | ||
| + | https:// | ||