| Poster | : Zoubidaman | | Posts | : 2 | | Country | : France | | City | : |
| | | | Posted by Zoubidaman on 26/09/2008 at 02:04:49
| | Hello there,
I have a problem with the reflection in my game, and I don't know how to solve this.
Currently, I'm programming a flight game.
I defined, like in your second series of tutorials, a camera which is always behind the plane, and a bit above.
When the plane is flying normally, the camera is looking from top to bottom. Then the reflected camera is looking from bottom to top, and I have a correct reflection on the ocean.
But when I roll the plane, making him fly upside down, then the camera become under the plane, looking from bottom to top. The problem is then that the reflected camera is now looking from top to bottom, looking in the bottom of the ocean instead of looking at the sky. So I don't have some reflections...
I tried to programmatically set the cam to always be looking top to bottom, but I have weird camera displacements.
How do you think I could resolve this problem?
Thanks in advance
Mike | |
|
|