[Help] XEffects Combine Shaders

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!
Post Reply
rustyk
Posts: 25
Joined: Sat Jan 10, 2015 4:03 pm

[Help] XEffects Combine Shaders

Post by rustyk »

Hey guys,

So I got back with XEffects and now I'm trying to figure out how to combine the screen water and bloom demo located at the example here

https://github.com/monstrobishi/xeffects/

Is there a particular order because when I put them together the water shader disappears. :(

Also, are there any more examples I can try for postprocessing and materials?

Thanks
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Re: [Help] XEffects Combine Shaders

Post by BlindSide »

Hi rusty,

Which video driver are you using? I've potentially found a solution but haven't tested it. Put the water shader at the end and then, inside the water shader replace all "ScreenMapSampler" with "ColorMapSampler". That should allow you to use them together.

Cheers,
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
rustyk
Posts: 25
Joined: Sat Jan 10, 2015 4:03 pm

Re: [Help] XEffects Combine Shaders

Post by rustyk »

Thank you for this Blindside, sorry it's been awhile and I just got back to using Irrlicht. I'll check this again. cheers.
Vectrotek
Competition winner
Posts: 1087
Joined: Sat May 02, 2015 5:05 pm

Re: [Help] XEffects Combine Shaders

Post by Vectrotek »

This is cool! 8)
Post Reply