Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. Intro to Shaders What is a shader and what does it do, how is it used? The [[https://icculus.org/gtkradiant/documentation/Q3AShader_Manual/|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: [[https://github.com/ioquake/ioq3/blob/master/opengl2-readme.md#materials|ioquake3 opengl2 renderer Materials]] [[https://web.archive.org/web/20041028022648/http://www.doom3world.org:80/phpbb2/viewtopic.php?t=6617|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:\\ {{:tremulous:i2iac.jpg?direct&400|}} ==== Shader resources ==== [[http://dl.grangerhub.com/#files%2Fdownloads%2Fdev%2Fshaders|Shader manuals and tools]] \\ [[https://web.archive.org/web/20161122073424/http://bpeers.com/software/q3ase/]] \\ [[https://web.archive.org/web/20170101173938/http://www.bpeers.com/software/q3ase/q3asetutorial.html|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 [[:tremulous_3d_modeling|Player model export resources]] [[https://web.archive.org/web/20041010094900/http://www.4thdimented.com:80/dimented_tutorialQuake3_1.htm|"Getting a Model into Quake 3" - (Tutorial's for 3DSMax, but everything also applies to Blender)]] [[https://web.archive.org/web/20130526010027/http://lee.fov120.com:80/iqm/|IQM format information]] Archive.org mirror of http://lee.fov120.com:80/iqm/ [[http://web.archive.org/web/20010826133822/http://www.cybermodels.co.uk:80/html/Digital_painting.htm|Digital painting character textures]] [[https://web.archive.org/web/20180821181752/https://www.quake3world.com/forum/viewtopic.php?f=10&t=4650|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 [[http://www.poopinmymouth.com/#tutorials|Ben Mathis]] https://web.archive.org/web/20120512032907/http://www.gamasutra.com/view/feature/131701/creating_backgrounds_for_3d_games.php?print=1 tremulous/assets.txt Last modified: 2021/01/25 16:23by romdos