Intro to Shaders

What is a shader and what does it do, how is it used?

The Quake 3 shader manual states:

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 Tremulous/base/scripts folder

More info:

ioquake3 opengl2 renderer Materials

Quick and Dirty Material Shader Primer [Doom3World.org]

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>

Image:

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

Player model export resources

"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/

Digital painting character textures

Modeling & Skinning Tools, Tutorials, & Resources

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

Ben Mathis

https://web.archive.org/web/20120512032907/http://www.gamasutra.com/view/feature/131701/creating_backgrounds_for_3d_games.php?print=1