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
https://web.archive.org/web/20071019012918/http://www.doom3world.org/phpbb2/viewtopic.php?t=6617
Image formats used and tools Model formats used and tools
"Getting a Model into Quake 3" - (Tutorial's for 3DSMax, but everything also applies to Blender)
IQM format information Archive.org mirror of http://lee.fov120.com:80/iqm/
Unorganized
https://web.archive.org/web/20080814142637/http://www.poopinmymouth.com:80/tutorial/normal_workflow.htm https://web.archive.org/web/20040812105640/http://www.cyberloonies.com:80/bump-mapping.html https://web.archive.org/web/20040807155141/http://freespace.virgin.net:80/hugo.elias/graphics/x_polybm.htm https://web.archive.org/web/20060320055922/http://www.doom3world.org:80/phpbb2/viewtopic.php?t=10585 https://web.archive.org/web/20061203031810/http://www.telefragged.com:80/soup/terra_tut/terra_tut.htm
https://web.archive.org/web/20071104225323/http://www.grsites.com:80/textures/ https://web.archive.org/web/20031218133302/http://www.planetquake.com:80/simland/pages/article1/a1.htm https://web.archive.org/web/20040805064441/http://www.telefragged.com:80/soup/envmapusage.htm https://web.archive.org/web/20160321000904/https://www.iddevnet.com/quake4/ArtReference_SpecularMaps
