Tree flicker
by Ronald J Nelson · in Torque Game Engine Advanced · 05/28/2008 (9:30 pm) · 2 replies
First off, this is done with the Sharp Tree Pack by Matthew Jones and I am using TGEA 1.03.
I have verified that it has noting to do with replicators because in this scene I am not using any.
The following is a copy of one of my materials the rest are all pretty much the same other than names.
The first video here shows the firing a weapon near them will make them flicker.
s72.photobucket.com/albums/i192/DTDA/?action=view¤t=treetranslighting-1.fl...
This next video shows that just moving around while look at the trees makes them flicker as well.

Has anyone seen this? Does anyone know how to fix it?
I have verified that it has noting to do with replicators because in this scene I am not using any.
The following is a copy of one of my materials the rest are all pretty much the same other than names.
new Material( Cyprus_Cedar_Tree )
{
mapTo = "Cyprus_Cedar";
baseTex[0] = "main/data/foliage/Trees/Cyprus_Cedar.png";
bumpTex[0] = "main/data/foliage/Trees/Cyprus_Cedar_NRM.png";
translucent = true;
//pixelSpecular[0] = true; //whether the pixels shine from the sun or light
//specular[0] = "1.0 1.0 1.0 0.1"; //I think this refers to direction of light reflection?
//specularPower[0] = 2.0; //how much shine,2/4/8/16 or 32
translucentBlendOp = LerpAlpha; //as above
//translucentZWrite = true; //as above
alphaTest = true; // default value would be true
alphaRef = 0; // anything below this number is not visible and is not written to zbuffer
//emissive[0] = true;
};The first video here shows the firing a weapon near them will make them flicker.
s72.photobucket.com/albums/i192/DTDA/?action=view¤t=treetranslighting-1.fl...
This next video shows that just moving around while look at the trees makes them flicker as well.

Has anyone seen this? Does anyone know how to fix it?
#2
05/29/2008 (3:45 am)
The first thing I'd check is the sorting order of the leaf planes. Sorting is very tricky and anomalies like that can result if you don't have it right. The second thing to check is LOD if the trees come with that installed. If so then try adjusting the LOD values. It may be moving the camera like that is triggering LOD display.
Torque Owner Bobby Leighton
Imagn' Games