| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| tremulous:assets [2018/08/29 21:35] – romdos | tremulous:assets [2026/08/05 21:30] (current) – grangerhub |
|---|
| 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://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]]] |
| | |
| | Example `portal.shader` |
| |
| <Code:none linenums:0 |Example shader for portal effects: //portals.shader//> | ``` |
| models/fx/portal/bluering | models/fx/portal/bluering |
| { | { |
| } | } |
| } | } |
| | ``` |
| |
| </Code> | Example of different OpenGL blend functions in action: |
| |
| Image:\\ | |
| {{:tremulous:i2iac.jpg?direct&400|}} | {{:tremulous:i2iac.jpg?direct&400|}} |
| |
| https://web.archive.org/web/20071019012918/http://www.doom3world.org/phpbb2/viewtopic.php?t=6617 | 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]] | [[: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/ | [[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/ |
| |
| |
| ==== Normal mapping / bump mapping ==== | ==== Unorganized Links (Sort me please) ==== |
| |
| |
| https://web.archive.org/web/20040807155141/http://freespace.virgin.net:80/hugo.elias/graphics/x_polybm.htm | 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/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 |