Env map
by Dan Keller · in Torque Game Engine · 08/25/2007 (8:32 pm) · 8 replies
I created a dts window for my game, and set the glass to use an env map in the blender exporter. It looks great in showtool, but in game the env map doesn't show up. How do I set the image a static shape uses for an envmap in the game?
About the author
Recent Threads
#2
08/26/2007 (10:31 am)
I found this is player.cs in the starter.fps:datablock PlayerData(PlayerBody)
{
renderFirstPerson = false;
emap = true;
className = Armor;
#3
08/29/2007 (9:01 pm)
Did that do it?
#4
08/31/2007 (6:04 pm)
I tried setting that in the mission file, but it didn't work. I don't want to create a datablock because of the loading overhead.
#5
08/31/2007 (7:07 pm)
What kind of object are you using? StaticShape or TSStatic?
#6
08/31/2007 (7:11 pm)
...
#7
09/01/2007 (9:35 am)
It's a TSStatic. I have the reflectance map option turned off. I think the problem might be that the 7th sky texture is actually a solid color. Oops.
#8
09/01/2007 (9:41 am)
That was it. The 7th image from TGE1.5's sky_blue sky is a solid color. I replaced it with the 7th image from sky_day and it worked fine.
Torque Owner Demolishun
DemolishunConsulting Rocks!