water shader 4 irrlicht nearly completed

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
omaremad

Post by omaremad »

only when it is finished and only when some one answers the above qestions :evil:

since people would just laugh at it and forget the project
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

I don't know hlsl, but I know some Cg which afaik is syntax compatible. To the best of my knowledge there is no perlin noise function built in, though I'm sure there are plenty of tutorials on the internet describing the mathematics involved. Note that perlin noise is quite computationally heavy and should probably be used sparingly
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
eXodus
Posts: 320
Joined: Tue Jan 04, 2005 10:07 am
Location: Canada
Contact:

Post by eXodus »

Electron wrote:I don't know hlsl, but I know some Cg which afaik is syntax compatible. To the best of my knowledge there is no perlin noise function built in, though I'm sure there are plenty of tutorials on the internet describing the mathematics involved. Note that perlin noise is quite computationally heavy and should probably be used sparingly
While cubic interpolation is still heavy on today's cpus, cosine interpolation should be a piece of cake.

Omaremad

Have fun with this :
http://64.233.161.104/search?q=cache:2r ... ader&hl=en
Silentstorm

Post by Silentstorm »

Basically I thinck it's great and in stead of using this as your actual water by making it darker I'd use it as the top layer under wich you put anotherone that uses a render to texture (a camera creates a texture of what it sees) I'd make the camera of the texture face the camera of the vieuwport, that way it should seem like you have a quite realistic reflection and yor shader would make the reflection realistic. :D
omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post by omaremad »

i tried doing that but when using multiple cameras the background is blue and the skybox doesnt render properly in the render to texture texture
Post Reply