The original tree model has a 3d trunk and I've used lots of flat planes to create the branches. For the LOD model I have the trunk and two flat, vertical planes, perpendicular to each other to act as the branches (created these from a render image). These two planes have alpha channels on their texture. In total the tree model (with the lod model) has 3 textures. One for the trunk, one for the small individual branches and one for the all the branches combined for the LOD model.
The problem is that when the LOD model activates, the model goes from the original tree to just the trunk, the two flat planes of the LOD model cannot be seen which obviously is wrong. Here's my vmt for the material that isn't showing:
- Code: Select all
"VertexLitGeneric"
{
"$color" "[1 1 1]"
"$baseTexture" "models/tree01_lod_flat"
"$selfIllum" 0
"$alphatest" 1
"$alpha" 1
"$nocull" 1
}
Sorry if that was a crappy explanation, did my best lol.
Thanks
Andy