I want to render reflection on a planar surface but the reflecting surface has a texture mapped onto it.Would the normal technique of using stencil buffer and then blending in the reflected image with the reflecting surface in this case? If not then could some one suggest me how to render reflection on a surface that has a texture mapped onto it? Thanks


Yes that should work as long as you use the proper blending technique.

  • \$\begingroup\$ well thanks..I have done it successfully..was missing a line in the actual code,due to which I was stuck \$\endgroup\$ – noddy Nov 12 '11 at 8:41
  • 2
    \$\begingroup\$ @nodddy: You may want to answer your own question in that case and put the problem code in (with the solution, so people can compare) so that later on if someone runs into the same problem, and stumbles across this question, they can find the answer quickly \$\endgroup\$ – Samaursa Nov 12 '11 at 14:31
  • \$\begingroup\$ @Samaursa why would he do that if it's closed as "too localized"? :( \$\endgroup\$ – ashes999 Jan 10 '12 at 23:15
  • \$\begingroup\$ @ashes999: It wasn't when I commented :P \$\endgroup\$ – Samaursa Jan 11 '12 at 6:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.