lesson #26
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
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
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement