Advertisement

lesson #26

Started by May 27, 2006 06:46 PM
0 comments, last by lc_overlord 18 years, 6 months ago
Would it be possable to apply a bumpmap to this? its exactly what im lookiing for but it needs to be sorta distorted Edit: http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=26
Your talking about a refraction map, it's not that hard to implement but it does require the use of a FBO and shaders (GlSl preferably), check my signature to see tuts about them.

Once you have that you first need to render the reflected object to the fbo, then pass that fbo as a texture trough the reflection polygon and a shader that changes the uv cordinates per pixel using a normal map.

Ok perhaps not easy, but dooable

This topic is closed to new replies.

Advertisement