Does anybody have some water shaders?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Andrey
Posts: 17
Joined: Sat Aug 05, 2006 6:53 pm
Location: Ukraine

Does anybody have some water shaders?

Post by Andrey »

I'm looking for the water shader(s)...I've seen that Ocean-example from nVidia. It looks great..But, that file comes with .fx extension..I don't know, what to do with it..
My game needs a good sea:), therefore I'd be glad to see any advices...
olivehehe_03
Posts: 157
Joined: Tue Mar 20, 2007 8:30 am

Post by olivehehe_03 »

Have a look here, it's the Nvidia shader library, with the filter set to HLSL shaders (which as far as I know is supported by Irrlicht). There's an ocean in there somewhere :D

Code: Select all

http://developer.download.nvidia.com/shaderlibrary/webpages/hlsl_shaders.html
Tell me what you cherish most. Give me the pleasure of taking it away.
Andrey
Posts: 17
Joined: Sat Aug 05, 2006 6:53 pm
Location: Ukraine

Post by Andrey »

olivehehe_03 wrote:Have a look here, it's the Nvidia shader library, with the filter set to HLSL shaders (which as far as I know is supported by Irrlicht). There's an ocean in there somewhere :D

Code: Select all

http://developer.download.nvidia.com/shaderlibrary/webpages/hlsl_shaders.html
Yes, I've seen that. But the file from there is with *.fx extension. When I try to use this file like in Irrlicht shader-example, I become:

Code: Select all

HLSL vertex shader compilation failed
error X3501: 'vertexMain' entrypoint not found
So, one more question - what is the difference between *.fx and
*.hlsl (I think, it's not only different file extensions)? Can I use *.fx shaders with Irrlicht? If not, where can I find right shaders for the water?..
Please, help.... :cry:
GuerillaSoftworks
Posts: 83
Joined: Wed May 23, 2007 6:11 pm

Post by GuerillaSoftworks »

Guerilla Softworks

New Guerilla Softworks website under construction - http://guerillasoftworks.awardspace.com
Post Reply