Mirror and Water Reflection (Reflective, Wrap and GLSL water now)

Hello!
While I do not create a tutorial I will provide a templete for the creation of water with mirrors and reflections in real time.
OBS: only VideoTexture SVN!

http://blenderartists.org/forum/showthread.php?t=65107

The explanation is within the file. Any problems post here.
Enjoy!
Bye

Attachments

MirrorTemplare.blend (509 KB)

thanks for uploading, i love your work! allthough it is a bit depressing to see skill at that level:p

hi, could you figure out maybe how to make that the normal map texture displaces the reflection of the water? or maybe this isn`t possible at the moment?

Thanks Blenderizer

I guess that is not currently possible :confused:. but maybe a vertex shader in surface can be a path. i don’t know :frowning:

anyway, thanks, this can be useful :slight_smile:

Vitorbalbio:
http://www.yofrankie.org/tutorial-animated-normal-maps/

I know this water, is very better that my with “UVscrool”, but yet not displace the water reflection. only is a animated normal map too =/

Dude, it even has anti alias!

sorry I did not understand what you meant to say :confused:

I tried it, the reflection doesn’t have aliasing. I think it’s because of blender’s “blending”, blurring of textures.

Oh yes, not have Anti Alias really. But you can try to increase the resolution of the texture in the script
OBS: value above 512x512 cause great loss of FPS

I was wondering if there was a way to make the reflected image distort with the normals, and I remembered a (maybe) useful file by D-man you can find here : http://blenderartists.org/forum/showthread.php?t=104031&page=5
Look at “WrapedTexture.blend”. I tried to make it working with your template, but didn’t even managed to make it work on a simple plane (that’s strange, as I used this script many times before without any problems). Maybe you could try to adapt it to what you need. Well, I’m not sure that it’s working, but it is maybe a solution…

Thanks vicmax!
I will look this. I put any news here ^^

hmm… i did it.
thanks vitorbalbio and vicmax! . but it only works in Multitexture Matarials mode, not GLSL.

here is the blend file.
http://www.savefile.com/files/1977740

Very Cool !
is there any way to work in GLSL?

mine isn’t working and i think it has something to do with the video texture SVN.

Hellooo: i use SVN 17722… though i downloaded it a long time ago.

new demo and a picture. I would really appreciate If anyone is able to combine this to work with “Blender GLSL materials” and add a diffuse, specular or transparency to water.

http://img134.imageshack.us/img134/9987/waterfq5.jpg

here i used Mike Pans sky texture and modified D-mans wraped texture script…

and a blend file:
SaveFile
or
FileFront

Martinsh > Thanks to have make it working! The result is amazing! :eek: Can we use it in our games?
I’m really happy, as I have wished to see that kind of water in bge for years :eyebrowlift:

@Martinsh looks great. well done

Really Amazing!
This in GLSL would be fantastic!!!