Page 1 of 1

Multipass shader support

Posted: Tue Feb 13, 2007 7:26 am
by andrewdfrost
Are there any plans to implement multipass shader support in Irrlicht?

I am new to Irrlicht and I am trying to port an existing MDX project that uses a mulitpass shader. Unfortunatley it looks like I will be looking at other options than Irrlicht.

Posted: Tue Feb 13, 2007 8:23 am
by hybrid
Look at sio2's multi-pass fur shader. Maybe that's what you're looking for (maybe not fur, but...)

Posted: Tue Feb 13, 2007 8:55 am
by andrewdfrost
Thanks, do you have a link to it?

Posted: Tue Feb 13, 2007 12:15 pm
by andrewdfrost
Don't worry found the link from an earlier post. Thanks for your help.

Posted: Tue Feb 13, 2007 12:23 pm
by andrewdfrost
Unfortunately these are executables only and no source code, which doesn't really help.

If anyone has any code for implementing multipass shaders in Irrlicht it would help soooooo much.

Posted: Tue Feb 13, 2007 1:24 pm
by sdi2000
i work on a solution with dx effect files, but the api is broken in my engine dist of irrlicht in some simple cases.
is that a solution for u?
in an effect u can define multiple shader. ps/vs
it works but cur without texture shader. i work on it

http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=18898

Posted: Sun Feb 18, 2007 3:59 pm
by omaremad
Just render the mesh again with the secondary meshes on ALPHA_ADD material, thats all what multipass is.