Difference between revisions of "Foliage Vertex Color"

From polycount
Jump to: navigation, search
(link fix)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Vertex color]] can be used to add fake lighting to flat foliage meshes to create the illusion of a softly-lit foliage volume.
+
[[Vertex color]] can be used to add fake lighting to flat [[Foliage]] meshes to create the illusion of a softly-lit foliage volume.
  
 
Foliage meshes in game are usually made using flat planes with a [[TransparencyMap|transparent]] texture containing a bunch of leaves (or grass blades). These textures are used instead of modeling each leaf or blade of grass discretely, because the complex geometry renders slowly and also greatly increases the memory cost for the model.  
 
Foliage meshes in game are usually made using flat planes with a [[TransparencyMap|transparent]] texture containing a bunch of leaves (or grass blades). These textures are used instead of modeling each leaf or blade of grass discretely, because the complex geometry renders slowly and also greatly increases the memory cost for the model.  
Line 5: Line 5:
 
But flat planes generally do not shade very well when lit, so foliage models are often rendered in-game without any lighting (see [[EmissiveMap|Emissive]]). If lighting is an option however, editing the [[VertexNormal|vertex normals]] is one way to get better lighting.
 
But flat planes generally do not shade very well when lit, so foliage models are often rendered in-game without any lighting (see [[EmissiveMap|Emissive]]). If lighting is an option however, editing the [[VertexNormal|vertex normals]] is one way to get better lighting.
  
{| border="1" cellpadding="2" cellspacing="0"
+
[[image:VertexColor_Tree.gif|frame|none| [[Vertex color]] can be used to add volume to unlit foliage geometry.<br/><span style="font-size: smaller">Image by [http://ericchadwick.com Eric Chadwick] ]]
|[[image:VertexColor_Tree.gif]]
+
|-
+
|[[Vertex color]] can be used to add volume to unlit foliage geometry.<br/>Image by [http://ericchadwick.com Eric Chadwick]
+
|}
+
  
 
----
 
----
 
[[Category:Texturing]]
 
[[Category:Texturing]]

Latest revision as of 12:51, 12 August 2015

Vertex color can be used to add fake lighting to flat Foliage meshes to create the illusion of a softly-lit foliage volume.

Foliage meshes in game are usually made using flat planes with a transparent texture containing a bunch of leaves (or grass blades). These textures are used instead of modeling each leaf or blade of grass discretely, because the complex geometry renders slowly and also greatly increases the memory cost for the model.

But flat planes generally do not shade very well when lit, so foliage models are often rendered in-game without any lighting (see Emissive). If lighting is an option however, editing the vertex normals is one way to get better lighting.

Vertex color can be used to add volume to unlit foliage geometry.
Image by Eric Chadwick

Personal tools
Namespaces

Variants
Actions
Navigation
Tools