Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Combining 2 Fullscreen Shaders at one time?

Author
Message
DarkDISCUSSION
15
Years of Service
User Offline
Joined: 6th Jul 2011
Location: Ft Madison, IA
Posted: 12th Mar 2012 02:06
Hello,

Anyone know how to apply more than one fullscreen shader at the same time? I was trying to combine both Bloom and Cartoon Edge shaders and wasn't going too well. I have added 2 planes and quads locked onto the default camera and only shows one of the two shaders. Any tips for making both fullscreen shaders show up at the same time?

Thanks!

Monsters are Ready to spill their Dark Sercrets......
Diggsey
20
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 12th Mar 2012 04:01
You have to either chain the shaders using 2 extra cameras instead of just 1 extra camera, which will be quite slow, or you can combine the shaders into one by editing the code which shouldn't be too hard but does require knowledge of HLSL.

[b]
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 14th Mar 2012 01:48 Edited at: 14th Mar 2012 01:49
a quick Google using the phrase

Quote: "combined bloom shader with toon shader"


I found this a few searches down

NVIDIA Shader Library

hope it helps somewhat...

EDIT

Forgot to say I too ponder over this question from time to time... thought I am far from playing with FSshaders

mr Handy
18
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 15th Mar 2012 14:58
Diggsey, which one is faster? I've tried some multipass lighting and it feels kinda slower...

Login to post a reply

Server time is: 2026-07-10 09:47:29
Your offset time is: 2026-07-10 09:47:29