Original Post
I've been wanting to add this for a while, but I can't seem to get the math together to do what I want. Basically, I just want to use a low quality blurry texture to represent the ceiling (or the ceiling and all four walls), and render this as a secondary texture on the floor. If anyone reading this played Half Life 2, this was happening in the first building area you enter, where you have to enter the metal-fence-looking queue. You could see the ceiling lights on the floor. Just a texture that moved about when you look at it from different perspectives. I'm guessing I need to do some type of bounce from the camera, off of the normal of the surface, to the object surface being reflected. But nothing I try seems to work the way I want it to. I drew this up quickly to explain what I expect I need to do, or at least simulate:
I have my texture loaded and my vertex shader technique is ready for me to start typing, but I'm not sure what to try. Can anyone recommend a tutorial or some type of online reading material? I would really appreciate any information. Thanks.
I have my texture loaded and my vertex shader technique is ready for me to start typing, but I'm not sure what to try. Can anyone recommend a tutorial or some type of online reading material? I would really appreciate any information. Thanks.