Game Development Community

Fog related translucency issues in TSE

by Stephane Conde · in Torque Game Engine · 08/24/2006 (1:54 pm) · 1 replies

I have just started using TSE and seem to have come across a bug.

I set up a material like so:

new Material(CastleMaterial)
{
   mapTo = "Castle_TXT_01.png";
   baseTex[0] = "Castle_TXT_01.png";
   translucent = true;
   translucentBlendOp = LerpAlpha;
};

I then place a TSStatic in-game that consists of 1 plane and uses the above material and this is how is shows up in-game without any scene-graph fog:

torch.cs.dal.ca/~stephane/images/no-fog-example.jpg
This is how the exact same TSStatic with the exact same material shows up when there is scene-graph fog:

torch.cs.dal.ca/~stephane/images/fog-example.jpg

Is there something I am missing? I have also tried using the DiffuseFog shader with my 'CastleMaterial' with no difference...

#1
08/24/2006 (8:25 pm)
This thread has now been transferred to the correct forum (TSE Bugs) and can be deleted. The new thread can be found here. Sorry for any inconvienence.

Stephane