PDA

View Full Version : Planar reflection with texture mapping



Newbie12345
02-16-2012, 04:48 AM
Im trying to implement planar reflection using texture mapping. The scene has a textured walls , table and objects on the table. The table is located with centre of the table at 0,0. Inorder to get the reflection, i have created a virtual view point equidistant fromthe y plane usgin glulookat. Now im trying to set up the glfrustrum to contain the edges of the tabletop.

Can someone help setting the para,eters for glfrusturm? Im just gettin a black table top wheni rendernow.