Environmental Mapping on Worldcraft objects
by Evan Hamilton · in Torque Game Engine · 12/23/2002 (5:57 pm) · 7 replies
Hey all...I've been searching for the answer to this topic for awhile, and found nothing...how does one go about making a worldcraft object have environmental mapping ingame?
Thanks!
-Evan
Thanks!
-Evan
#2
With the window transparency, all we need now is environment mapping.
It must be in there somewhere, or someone might feel like making it.
*bumb*
-Bendik
01/14/2003 (1:52 am)
Yes, that would be nice.With the window transparency, all we need now is environment mapping.
It must be in there somewhere, or someone might feel like making it.
*bumb*
-Bendik
#4
06/25/2003 (11:15 am)
Is there a reason I don't have access to that thread? (I am an SDK owner)
#5
06/25/2003 (11:21 am)
I don't have access either. Perhaps it was deleted or something?
#6
you need to use the addMaterialMapping function to enable Environmental Mapping on Worldcraft objects.
An example from the Racing MOD:
addMaterialMapping( "glass" , "environment: fps/data/skies/day_0007 0.5" );
"glass" is the name of the texture (without extension) you wish to have Env. Mapping
"environment: fps/data/skies/day_0007" Specifies the texture to use for the reflection
0.5 is how much reflection to have.
06/25/2003 (3:46 pm)
That thread seems to have gone "poof"... I think it was one of mine at also..you need to use the addMaterialMapping function to enable Environmental Mapping on Worldcraft objects.
An example from the Racing MOD:
addMaterialMapping( "glass" , "environment: fps/data/skies/day_0007 0.5" );
"glass" is the name of the texture (without extension) you wish to have Env. Mapping
"environment: fps/data/skies/day_0007" Specifies the texture to use for the reflection
0.5 is how much reflection to have.
#7
It works in TGE 1.4, but make the wall completely reflective!
0.5, 0.0 or 1.0 - doesnt change anything.
Is it an engine bug or I'm doing something wrong?
06/29/2006 (3:01 pm)
AddMaterialMapping("stonewall" , "environment: robo.planet/data/skies/day_0007/day_0001 0.5" );It works in TGE 1.4, but make the wall completely reflective!
0.5, 0.0 or 1.0 - doesnt change anything.
Is it an engine bug or I'm doing something wrong?
Evan Hamilton