Game Development Community

Model Texture fades when the camera gets close to the model

by Kyle Hagin · in Torque Game Engine · 05/23/2010 (9:39 pm) · 2 replies

I am using TGE 1.5.2 and I just bought the Real Zombies Pack from 3DRT. I have the new models in the game and they look good but when the camera gets close to the model the texture fades away and you can see the grey model underneath but you can still see a translucent version of the texture.

I get no warnings or errors in the console.

#1
05/24/2010 (5:00 pm)
It sounds like the environmental texture reflection is kicking in when you get close. I remeber this problem but have no clue how to fix it. If you search you should be able to find info on it
#2
05/24/2010 (6:11 pm)
Thanks for the tip. I found it. It was the environment mapping stuff... not sure what the root cause was but to turn off environment mapping is easy to do for a data block. In the player data block i just made

emap = false;

Thanks again for the help!