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 / Objects disappearing when using fullscreen shader.

Author
Message
enderleit
19
Years of Service
User Offline
Joined: 30th May 2007
Location: Denmark
Posted: 24th Jul 2011 00:22
I was playing around with an exported Bloom shader from DarkShader, just for learning. I have set up a small scene, but the objects disappear when I rotate the camera to either side a certain amount.

Anyone know what's causing this, and how to fix it?

I have attached my project, so you can look at it.

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 24th Jul 2011 01:21
My guess is that you need to make sure the screen quad is in front of the camera - otherwise it gets culled before the shader sees it.

Try adding this before your camera 0 sync:

enderleit
19
Years of Service
User Offline
Joined: 30th May 2007
Location: Denmark
Posted: 24th Jul 2011 01:41
That was actually one of my suspicions also... (don't really know why I didn't try that ) I guess I thought that the Quad.fx did that for me... I'll try that now...

enderleit
19
Years of Service
User Offline
Joined: 30th May 2007
Location: Denmark
Posted: 24th Jul 2011 01:43
Yeah... that works!

Thanks

Login to post a reply

Server time is: 2026-07-11 03:38:52
Your offset time is: 2026-07-11 03:38:52