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.

Newcomers DBPro Corner / Problem with Fullscreen DOF

Author
Message
Miguel Lobo
14
Years of Service
User Offline
Joined: 19th Feb 2010
Location: Portugal
Posted: 29th Mar 2010 14:59
Hi there,
I am trying to implement a full screen shader but I keep getting the dark screen, I look at the code and can't find the problem right now.

Here's the code:

Miguel Lobo
14
Years of Service
User Offline
Joined: 19th Feb 2010
Location: Portugal
Posted: 29th Mar 2010 18:40
Anyone?
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 29th Mar 2010 19:46
Quote: "Anyone?"


You've not really waited long... This is the newcomers section and you're asking about shaders. You would be better off in the darkbasic professional discussion section.

Windows 7 32-Bit Home Premium Intel Pentium Dual-Core @ 1.46Ghz 2038mb RAM
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 29th Mar 2010 23:15
From my little expirience with shaders i can suggest 2 things only.
Try to put this undocumented command every time there is resolution changes.This one i learn from Green Gandalf.

My second suggestion is to update your dark basic to newer version if for some reason you keep it at some older version, this is my personal experience.Once there was HDR shader that was not working and update make it work like it should, sadly there is some code of mine that stop working the way it should and now is waiting to be rewriten.

P.S.Before my update the HDR shader did the same thing with me, black screen...

Where there is a will, there is a way.
I often edit my posts, that`s who i am

Login to post a reply

Server time is: 2024-11-24 18:02:50
Your offset time is: 2024-11-24 18:02:50