tremulous:assets
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tremulous:assets [2021/01/05 22:57] – [Unorganized] romdos | tremulous:assets [2026/08/05 21:30] (current) – grangerhub | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Intro to shaders | + | 3D Modeling Resources: |
| + | |||
| + | Skinning and Texturing with 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? | ||
| - | Examples: | + | 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:// | ||
| + | |||
| + | Example `portal.shader` | ||
| - | < | + | ``` |
| models/ | models/ | ||
| { | { | ||
| Line 36: | Line 55: | ||
| } | } | ||
| } | } | ||
| + | ``` | ||
| - | </ | + | Example of different OpenGL blend functions in action: |
| - | Image:\\ | ||
| {{: | {{: | ||
| Line 50: | Line 69: | ||
| https:// | https:// | ||
| - | Image formats used and tools | ||
| - | Model formats used and tools | ||
| [[: | [[: | ||
| Line 64: | Line 81: | ||
| - | ==== Unorganized ==== | + | ==== Unorganized |
tremulous/assets.1609916232.txt.gz · Last modified: by romdos
