Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

closed as too localized by Tetrad Jan 10 '12 at 22:35

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

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

share|improve this answer
well thanks..I have done it successfully..was missing a line in the actual code,due to which I was stuck – noddy Nov 12 '11 at 8:41
@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 – Samaursa Nov 12 '11 at 14:31
@Samaursa why would he do that if it's closed as "too localized"? :( – ashes999 Jan 10 '12 at 23:15
@ashes999: It wasn't when I commented :P – Samaursa Jan 11 '12 at 6:15

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