This is an old revision of the document!
Intro to shaders
What is a shader and what does it do, how is it used?
Examples:
<Code:none linenums:0 |Example shader for portal effects: portals.shader> models/fx/portal/bluering {
surfaceparm nodlight
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm nomarks
cull disable
{
map models/fx/portal/bluering.tga
blendfunc add
rgbGen identity
tcMod scroll -0.2 0
}
}
models/fx/portal/bluecenter {
portal
surfaceparm nodlight
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm nomarks
cull disable
{
map models/fx/portal/bluecenter.tga
blendfunc add
rgbGen identity
tcMod rotate -5
}
}
</Code>
Shader resources
Shader manuals and tools
https://web.archive.org/web/20161122073424/http://bpeers.com/software/q3ase/
Tutorial for using Q3ASE
Image formats used and tools Model formats used and tools
IQM format information Archive.org mirror of https://web.archive.org/web/20130526010027/http://lee.fov120.com:80/iqm/
