Difference between revisions of "Talk:3D Objects"

From Wolfire Games Wiki
Jump to: navigation, search
(Added an old table with stuff that should be included on the page)
 
 
Line 1: Line 1:
 
This is part of the old table since before the uber-shader update. We need to make sure that everything in this table is still covered on the page, but using the new techniques.
 
This is part of the old table since before the uber-shader update. We need to make sure that everything in this table is still covered on the page, but using the new techniques.
 +
 +
[[User:Silverfish|Lukas Orsvärn]] ([[User talk:Silverfish|talk]]) 08:44, 28 March 2018 (UTC)
  
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Tag !! Channel/Texture Changes !! Description
+
! Tag !! Non-standard channel designation !! Description
 +
|-
 +
! cubemap
 +
|
 +
|| Standard shader.
 +
|-
 +
! cubemapobj
 +
|
 +
|| Same as Cubemap but uses object-space normal maps instead of tangent space.
 +
|-
 +
! cubemapobjitem
 +
|
 +
|| Object space version of CubemapItem.
 
|-
 
|-
 
! cubemapalpha
 
! cubemapalpha
Line 39: Line 53:
 
|| [[Image:Translucency.jpg|thumb|plant shader]]
 
|| [[Image:Translucency.jpg|thumb|plant shader]]
 
Has transparency like cubemapalpha but no reflectivity. Enables the optional use of a '''TranslucencyMap''' and a '''WindMap''', see [[#Tags|tags]].
 
Has transparency like cubemapalpha but no reflectivity. Enables the optional use of a '''TranslucencyMap''' and a '''WindMap''', see [[#Tags|tags]].
 +
|-
 +
! detailmap4
 +
|
 +
|| Requires a '''WeightMap''' and a '''DetailMaps''' tag when used. '''TODO: Does this also enable the optional use of the DetailObjects tag, or can that be used anyway?'''
 
|}
 
|}
 
[[User:Silverfish|Lukas Orsvärn]] ([[User talk:Silverfish|talk]]) 08:44, 28 March 2018 (UTC)
 

Latest revision as of 08:45, 28 March 2018

This is part of the old table since before the uber-shader update. We need to make sure that everything in this table is still covered on the page, but using the new techniques.

Lukas Orsvärn (talk) 08:44, 28 March 2018 (UTC)

Tag Non-standard channel designation Description
cubemap Standard shader.
cubemapobj Same as Cubemap but uses object-space normal maps instead of tangent space.
cubemapobjitem Object space version of CubemapItem.
cubemapalpha

ColorMap
A - Transparency

NormalMap
A - Reflectivity

cubemapalpha shader

Texels that do not have a transparency of 0.0 or 1.0 have depth sorting issues with each other.

cubemapobjchar

NormalMap
A - Sun fresnel mask

Intended for use with characters, shine is sharp, uses object space normals. The sun fresnel effect brightens up the edges of the object when it is between the camera and the sun.
plant

ColorMap
A - Transparency

NormalMap
A - No effect

TranslucencyMap
RGB - Translucency color
A - No effect

WindMap
R - Wind mask
GBA - No effect

plant shader

Has transparency like cubemapalpha but no reflectivity. Enables the optional use of a TranslucencyMap and a WindMap, see tags.

detailmap4 Requires a WeightMap and a DetailMaps tag when used. TODO: Does this also enable the optional use of the DetailObjects tag, or can that be used anyway?