Common materials

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
 
(20 intermediate revisions by one user not shown)
Line 1: Line 1:
System materials with a special behavior. Used widely on all maps.
+
{{unfinished}}
 +
{{need screenshot}}
 +
 
 +
Common materials are system textures with a special behavior assigned to them.
  
 
{| cellspacing=0 cellpadding=8 border=0 style="border-collapse: collapse"
 
{| cellspacing=0 cellpadding=8 border=0 style="border-collapse: collapse"
| width=60 | [[File:common_caulk.jpg|64px]]
+
| width=64 valign=top | [[File:common_caulk.jpg|64px]]
 
| '''common/caulk'''
 
| '''common/caulk'''
A system shader designed to 'caulk' or seal a map. In-game, it is a transparent solid texture. It is best applied to all surfaces which a player will be unable to see while in-game. This texture generate no draw surfaces.
+
A system material designed to 'caulk' or seal a map. In-game, it is a transparent solid texture. It is best applied to all surfaces which a player will be unable to see while in-game.
 +
 
 +
Caulk will block [[VIS]], so it can seal you map from a void.
 +
{{tip|When you build a [[BModel|brush entity]], mark all the brush sides that you will never see with caulk. Otherwise, the game draws every one of them. Also look around your map for brush faces that you suspect are being drawn, but are never seen: door pockets, bars, underneath bridges or very low railings and so on. It may sound like work, but attention to detail like this buys you both the appearance of greater geometric detail in the map AND faster game running speed.}}
 
|-
 
|-
| [[File:common_clip.jpg|64px]]
+
| valign=top | [[File:common_nodraw.jpg|64px]]
 +
| '''common/nodraw'''
 +
Non-solid, invisible texture. Just like caulk but additionally it do not block player movement and not making VIS splits.
 +
|-
 +
| valign=top | [[File:common_clip.jpg|64px]]
 
| '''common/clip'''
 
| '''common/clip'''
Surfaces with this shaders make invisible walls which clips movement of players. Do not affects footsteps (footstep tracing skips clipsurfaces to get real material player standing on).
+
Invisible material which clips movement of players. Do not affects footsteps (footstep tracing skips clipsurfaces to get real material player standing on).
 +
 
 +
Player clip is often useful for "smoothing" out the geometry of the map, preventing the player from snagging on objects.
 
|-
 
|-
| [[File:common_monsterclip.jpg|64px]]
+
| valign=top | [[File:common_monsterclip.jpg|64px]]
 
| '''common/monsterclip'''
 
| '''common/monsterclip'''
Like Clip but only clips NPC movement.
+
Clip only NPC movement.
 
|-
 
|-
| [[File:common_fullclip.jpg|64px]]
+
| valign=top | [[File:common_fullclip.jpg|64px]]
 
| '''common/fullclip'''
 
| '''common/fullclip'''
 
PlayerClip + MonsterClip.
 
PlayerClip + MonsterClip.
 
|-
 
|-
| [[File:common_origin.jpg|64px]]
+
| valign=top | [[File:common_origin.jpg|64px]]
 
| '''common/origin'''
 
| '''common/origin'''
 
Normally brush entities have no origin. Center of brush covered by this textures will set origin of it's parent [[BModel]]. This origin is used for movement (path spots) and rotation.
 
Normally brush entities have no origin. Center of brush covered by this textures will set origin of it's parent [[BModel]]. This origin is used for movement (path spots) and rotation.
 
|-
 
|-
| [[File:common_black.jpg|64px]]
+
| valign=top | [[File:common_black.jpg|64px]]
 
| '''common/black'''
 
| '''common/black'''
 
Black wall, hides any stuff behing it. Dont cast a shadow.
 
Black wall, hides any stuff behing it. Dont cast a shadow.
 
|-
 
|-
| [[File:common_areadisable.jpg|64px]]
+
| valign=top | [[File:common_areadisable.jpg|64px]]
 
| '''common/areadisable'''
 
| '''common/areadisable'''
 
Black wall on steroids, this also hides any transparent entities, marks, effects.
 
Black wall on steroids, this also hides any transparent entities, marks, effects.
 
|-
 
|-
| [[File:common_iwater.jpg|64px]]
+
| valign=top | [[File:common_iwater.jpg|64px]]
 
| '''common/ilava'''
 
| '''common/ilava'''
Invisible, sets brush contents to water. Also used on covering junction sides of water brushes (when making a long river). Water damage the player at slight rate.
+
Invisible, sets brush contents to water. Also used on covering junction sides of water brushes (when making a long river). Water damages the player at slight rate.
 
|-
 
|-
| [[File:common_islime.jpg|64px]]
+
| valign=top | [[File:common_islime.jpg|64px]]
 
| '''common/islime'''
 
| '''common/islime'''
Invisible, sets brush contents to swamp. Swamp slows down player and damage at slight rate when he moves.
+
Invisible, sets brush contents to swamp. Swamp slows down player and damages at slight rate when he moves.
 
|-
 
|-
| [[File:common_ilava.jpg|64px]]
+
| valign=top | [[File:common_ilava.jpg|64px]]
 
| '''common/ilava'''
 
| '''common/ilava'''
Invisible, sets brush contents to lava. Also used on covering junction sides of lava brushes. Lava damages player at hight rate (even in mist form), almost impossible to walk.
+
Invisible, sets brush contents to lava. Also used on covering junction sides of lava brushes. Lava damages player at hight rate (even in mist form), very dangerous to walk on.
 
|-
 
|-
| [[File:common_lightgrid.jpg|64px]]
+
| valign=top | [[File:common_lightgrid.jpg|64px]]
 
| '''common/lightgrid'''
 
| '''common/lightgrid'''
 
World brush with this texture will make boundaries of [[lightgrid | entity static lighting]]. There is no other use.
 
World brush with this texture will make boundaries of [[lightgrid | entity static lighting]]. There is no other use.
 
|}
 
|}
  
 
+
{{hidden begin | Rarely used common materials}}
= Rarely used materials =
+
  
 
This system materials used to create very special things.
 
This system materials used to create very special things.
  
{| width=800 height=32 cellspacing=0 cellpadding=7 border=0 style="border-collapse: collapse"
+
{| cellspacing=0 cellpadding=8 border=0 style="border-collapse: collapse"
| [[File:common_blackshadow.jpg|64px]]
+
| width=64 valign=top | [[File:common_blackshadow.jpg|64px]]
 
| '''common/blackshadow'''
 
| '''common/blackshadow'''
 
Black wall but casts shadows from static lights.
 
Black wall but casts shadows from static lights.
 
|-
 
|-
| [[File:common_lightblock.jpg|64px]]
+
| valign=top | [[File:common_lightblock.jpg|64px]]
 
| '''common/lightblock'''
 
| '''common/lightblock'''
 
Invisible surface that blocks lighting.
 
Invisible surface that blocks lighting.
 
|-
 
|-
| [[File:common_lighthull.jpg|64px]]
+
| valign=top | [[File:common_lighthull.jpg|64px]]
 
| '''common/lighthull'''
 
| '''common/lighthull'''
 
Same as lightblock but blocks lighting from inside.
 
Same as lightblock but blocks lighting from inside.
 
|-
 
|-
| [[File:common_hint.jpg|64px]]
+
| valign=top | [[File:common_hint.jpg|64px]]
| '''common/hint''
+
| '''common/hint'''
This brush splits visibility data making more portals. Rarely used to enhance portal culling.
+
Invisible material. Brush marked with this texture will create a portal in visibility tree. Rarely used on the places where general portal creation algorithm was failed to generate a proper vis portals, which caused a game slowdown. See [[Darkplaces_material_system#surfaceparm hint | surfaceparm hint]].
 
|-
 
|-
| [[File:common_nodraw.jpg|64px]]
+
| valign=top | [[File:common_skip.jpg|64px]]
 +
| '''common/skip'''
 +
This special textures should be used only on hint brushes (see above for hint texture). Surfaces with this texture will not make VIS splits (so, they are just skipped).
 +
|-
 +
| valign=top | [[File:common_nodraw.jpg|64px]]
 
| '''common/nodraw'''
 
| '''common/nodraw'''
 
Caulk that doesnt block visibility data.
 
Caulk that doesnt block visibility data.
 
|-
 
|-
| [[File:common_dpshadow.jpg|64px]]
+
| valign=top | [[File:common_dpshadow.jpg|64px]]
 
| '''common/dpshadow'''
 
| '''common/dpshadow'''
 
Invisible wall that cast realtime shadows. Weird.
 
Invisible wall that cast realtime shadows. Weird.
 
|-
 
|-
| [[File:common_collision.jpg|64px]]
+
| valign=top | [[File:common_collision.jpg|64px]]
 
| '''dpbihclip'''
 
| '''dpbihclip'''
 
This invisible texture is inaccessible from texture window. It is ised on [[collision mesh | collision meshes]] to define [[BIH]] support with no reatime shadows.
 
This invisible texture is inaccessible from texture window. It is ised on [[collision mesh | collision meshes]] to define [[BIH]] support with no reatime shadows.
 
|-
 
|-
| [[File:common_collision.jpg|64px]]
+
| valign=top | [[File:common_collision.jpg|64px]]
 
| '''dpbihplayerclip'''
 
| '''dpbihplayerclip'''
 
[[BIH]] support + playerclip.
 
[[BIH]] support + playerclip.
 
|-
 
|-
| [[File:common_collision.jpg|64px]]
+
| valign=top | [[File:common_collision.jpg|64px]]
 
| '''dpbihclipandshadow'''
 
| '''dpbihclipandshadow'''
 
[[BIH]] support + cast realtime shadows.
 
[[BIH]] support + cast realtime shadows.
 
|-
 
|-
| [[File:common_collision.jpg|64px]]
+
| valign=top | [[File:common_collision.jpg|64px]]
 
| '''collision'''
 
| '''collision'''
 
This texture should be used with "collision" mesh only used by [[ODE]].
 
This texture should be used with "collision" mesh only used by [[ODE]].
 
|}
 
|}
 +
{{hidden end}}
  
  
Line 99: Line 115:
 
This materials dont have any effects. Thay are just used to separate things.
 
This materials dont have any effects. Thay are just used to separate things.
  
{| width=800 height=32 cellspacing=0 cellpadding=7 border=0 style="border-collapse: collapse"
+
{| cellspacing=0 cellpadding=8 border=0 style="border-collapse: collapse"
| [[File:common_trigger.jpg|64px]]
+
| width=64 valign=top | [[File:common_trigger.jpg|64px]]
 
| '''common/trigger'''
 
| '''common/trigger'''
 
All triggers should be marked with this material.
 
All triggers should be marked with this material.
 
|-
 
|-
| [[File:common_roof.jpg|64px]]
+
| valign=top | [[File:common_roof.jpg|64px]]
 
| '''common/roof'''
 
| '''common/roof'''
 
Material to cover invisible rooftops on [[func_roof]].
 
Material to cover invisible rooftops on [[func_roof]].
 
|-
 
|-
| [[File:common_mark.jpg|64px]]
+
| valign=top | [[File:common_mark.jpg|64px]]
 
| '''common/mark1''' ... '''common/mark9'''
 
| '''common/mark1''' ... '''common/mark9'''
Visible materials to mark various stuff, like light glares, zones.
+
Visible materials with different color to mark various stuff, like light glares, zones.
 
|}
 
|}
  
== Unused ===
+
== Unused ==
  
 
This materials are there, but have no functionality.
 
This materials are there, but have no functionality.
Line 119: Line 135:
 
{| width=256 height=32 cellspacing=0 cellpadding=7 border=0 style="border-collapse: collapse"
 
{| width=256 height=32 cellspacing=0 cellpadding=7 border=0 style="border-collapse: collapse"
 
| [[File:common_antiportal.jpg|64px]]
 
| [[File:common_antiportal.jpg|64px]]
| [[File:common_skip.jpg|64px]]
 
 
| [[File:common_nodrop.jpg|64px]]
 
| [[File:common_nodrop.jpg|64px]]
 
| [[File:common_shadow.jpg|64px]]
 
| [[File:common_shadow.jpg|64px]]
 
|}
 
|}

Latest revision as of 12:53, 9 August 2012

This page is not finished
You can help by editing and extending it.
This page requires a screenshot or video of the subject
Want to make one?

Common materials are system textures with a special behavior assigned to them.

Common caulk.jpg common/caulk

A system material designed to 'caulk' or seal a map. In-game, it is a transparent solid texture. It is best applied to all surfaces which a player will be unable to see while in-game.

Caulk will block VIS, so it can seal you map from a void.

Tip: When you build a brush entity, mark all the brush sides that you will never see with caulk. Otherwise, the game draws every one of them. Also look around your map for brush faces that you suspect are being drawn, but are never seen: door pockets, bars, underneath bridges or very low railings and so on. It may sound like work, but attention to detail like this buys you both the appearance of greater geometric detail in the map AND faster game running speed.
Common nodraw.jpg common/nodraw

Non-solid, invisible texture. Just like caulk but additionally it do not block player movement and not making VIS splits.

Common clip.jpg common/clip

Invisible material which clips movement of players. Do not affects footsteps (footstep tracing skips clipsurfaces to get real material player standing on).

Player clip is often useful for "smoothing" out the geometry of the map, preventing the player from snagging on objects.

Common monsterclip.jpg common/monsterclip

Clip only NPC movement.

Common fullclip.jpg common/fullclip

PlayerClip + MonsterClip.

Common origin.jpg common/origin

Normally brush entities have no origin. Center of brush covered by this textures will set origin of it's parent BModel. This origin is used for movement (path spots) and rotation.

Common black.jpg common/black

Black wall, hides any stuff behing it. Dont cast a shadow.

Common areadisable.jpg common/areadisable

Black wall on steroids, this also hides any transparent entities, marks, effects.

Common iwater.jpg common/ilava

Invisible, sets brush contents to water. Also used on covering junction sides of water brushes (when making a long river). Water damages the player at slight rate.

Common islime.jpg common/islime

Invisible, sets brush contents to swamp. Swamp slows down player and damages at slight rate when he moves.

Common ilava.jpg common/ilava

Invisible, sets brush contents to lava. Also used on covering junction sides of lava brushes. Lava damages player at hight rate (even in mist form), very dangerous to walk on.

Common lightgrid.jpg common/lightgrid

World brush with this texture will make boundaries of entity static lighting. There is no other use.


[edit] Markers

This materials dont have any effects. Thay are just used to separate things.

Common trigger.jpg common/trigger

All triggers should be marked with this material.

Common roof.jpg common/roof

Material to cover invisible rooftops on func_roof.

Common mark.jpg common/mark1 ... common/mark9

Visible materials with different color to mark various stuff, like light glares, zones.

[edit] Unused

This materials are there, but have no functionality.

Common antiportal.jpg Common nodrop.jpg Common shadow.jpg
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox