Original Post
I'm having a little problem with water reflections. I'm rendering the reflected scene into the texture. Then I'll render the scene normal way to the default back buffer. After this I'm drawing a screen size plane with the reflected scene texture applied. Everything works fine, except all the reflected scene now appears in front of everything rendered to the back buffer. The following screen will tell everything: http://img.photobucket.com/albums/v734/Maskotti/example.jpg I guess I have to use a stencil buffer to make this work, but I can't find the working stencil operations to eliminate the correct pixels from the screen size plane. I'd be very grateful if someone could help me with this problem.