reflective floor

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
grunt
Posts: 96
Joined: Tue Aug 17, 2004 9:14 pm
Contact:

reflective floor

Post by grunt »

I am trying to make a reflective floor. I found out how to invert the rtt camera vertically by setting the upvector to (0, -1, 0). How can I invert it horizontally?
TCM
Posts: 53
Joined: Mon May 24, 2010 9:29 pm

Post by TCM »

Try setting negative values for the dimensions. The effect is a flipping.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I'd suggest to use an additional camera matrix instead. Just leave the camera as is, and alter the matrix in the camera API.
Post Reply