Editing Darkplaces material system/General Keywords
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 153: | Line 153: | ||
Typical usage: | Typical usage: | ||
deformVertexes normal 2 0.5 | deformVertexes normal 2 0.5 | ||
− | |||
− | |||
===deformVertexes bulge <nowiki><bulgeWidth> <bulgeHeight> <bulgeSpeed></nowiki>=== | ===deformVertexes bulge <nowiki><bulgeWidth> <bulgeHeight> <bulgeSpeed></nowiki>=== | ||
:This forces a bulge to move along the given S and T directions. Designed for use on curved pipes. | :This forces a bulge to move along the given S and T directions. Designed for use on curved pipes. | ||
− | |||
− | |||
− | |||
===deformVertexes roundwave <nowiki><radius> <wavesize> <radiusexponent> <x> <y> <z> {wavefunc}</nowiki>=== | ===deformVertexes roundwave <nowiki><radius> <wavesize> <radiusexponent> <x> <y> <z> {wavefunc}</nowiki>=== | ||
Line 203: | Line 198: | ||
{{tip|The <nowiki><div></nowiki> and <nowiki><amplitude></nowiki> parameters, when used in conjunction with liquid volumes like water should take into consideration how much the water will be moving. A large ocean area would have have massive swells (big div values) that rose and fell dramatically (big amplitude values). While a small, quiet pool may move very little.}} | {{tip|The <nowiki><div></nowiki> and <nowiki><amplitude></nowiki> parameters, when used in conjunction with liquid volumes like water should take into consideration how much the water will be moving. A large ocean area would have have massive swells (big div values) that rose and fell dramatically (big amplitude values). While a small, quiet pool may move very little.}} | ||
− | == | + | ==Renderer features== |
− | This keywords controls various renderer | + | This keywords controls various parameters used by renderer and physics. |
===dpOffsetMapping <nowiki><type> <scale> [<biastype> <biasvalue>]</nowiki>=== | ===dpOffsetMapping <nowiki><type> <scale> [<biastype> <biasvalue>]</nowiki>=== | ||
Line 214: | Line 209: | ||
===dpNoFog=== | ===dpNoFog=== | ||
Disables fog rendering for a surface. | Disables fog rendering for a surface. | ||
+ | |||
+ | ==Transparent surfaces== | ||
===dpPolygonOffset <factor> <offset>=== | ===dpPolygonOffset <factor> <offset>=== | ||
Line 221: | Line 218: | ||
{{tip|mod_q3shader_default_polygonfactor and mod_q3shader_default_polygonoffset controls default values.}} | {{tip|mod_q3shader_default_polygonfactor and mod_q3shader_default_polygonoffset controls default values.}} | ||
− | |||
===dpTransparentSort <nowiki><sort></nowiki>=== | ===dpTransparentSort <nowiki><sort></nowiki>=== | ||
Rendering of blended materials requires software sorting to keep the depth order of geometry. This keyword changes default distance sorting to allow for special effects. | Rendering of blended materials requires software sorting to keep the depth order of geometry. This keyword changes default distance sorting to allow for special effects. | ||
Line 310: | Line 306: | ||
==Physics== | ==Physics== | ||
− | This keywords controls parameters | + | This keywords controls various parameters used by game physics. |
===dpMeshCollisions=== | ===dpMeshCollisions=== |