Any mirror?

hi
i want to put a mirror in my program but i’ve never saw something about mirrors in opengl is there no fuction that lets vertices mirroring something? Maybe in glut? Its equal how slow the function is cose my game is not the fastest, i’ve programmed tetris3d and that needs not very much frames Thanks

cu

Shadow

There are no functions for reflections in OpenGL. You must make your own reflections.

If you want to reflect object(s) in a flat plane, like a mirror, you should look at http://reality.sgi.com/opengl/tips/Reflect.html on how to use the stencil buffer to create nice looking reflections.

And no, there’s nothing like this in GLUT

ok thanks
then i must try it this way

cu