PDA

View Full Version : CubeEnvMap on static and moving objects



opla
01-24-2002, 01:30 AM
Anybody tried to apply a CubeEnvMap on both static and rotating objects ? (like a rotating door and a wall next to the door)
is it normal to have the CubeEnvMap texture moving on the walls ?

nemesis
01-24-2002, 07:41 AM
The cube-map on the walls has to move when the point of view is also moving.
If the cube-map texture is changing on the wall when the camera isn't, something is wrong. If this is your case... well, just guessing, you probably need to define two cube-maps.

-nemesis-

opla
01-24-2002, 08:41 AM
If the cube-map texture is changing on the wall when the camera isn't, something is wrong
that's exactly what happens !
I'll try using 2 cube maps
thanks