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 / Why HDR and Bloom shaders won`t work?

Author
Message
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 3rd Mar 2010 14:21
Hi, guys.HDR and Bloom shaders got my attention on them and i swim trough the forum to download and view almost any example i could find.There is only 1 that is working for me.It`s HDR shader example the one of Evolved`s, rewriten by RUCCUS, and rewriten by me to run it.The compiled example application that is in with shader and source is runing just fine, whatever i can`t compile working one with RUCCUS`s code.When compile the exe and run everything flash for a moment and all objects gone from the scene.All other HDR and Bloom shader examples behave like that, objects pop on the scene then puff, black screen.What could to be the reason for this?I`ll add what i`ve done with the example code and link to RUCCUS example.

My code:


RUCCUS thread : http://forum.thegamecreators.com/?m=forum_view&t=102187&b=1

Where there is a will, there is a way.
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 3rd Mar 2010 17:21
Quote: "whatever i can`t compile working one with RUCCUS`s code"


RUCCUS's code compiles and runs fine for me with one proviso. To make it consistent with the download exe I had to change this:



to this:



Otherwise no problems. Looks good too.

I tested it on my XP laptop with U7.5. I'll test it again later on my Vista machine.
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 3rd Mar 2010 17:39
I change that line in my version and in original edit of RUCCUS no difference.It`s the same, the objects show for less than second, then all become black.I`m not used to shaders at all but i think it`s somehow related with images that are set to the cameras, maybe?

Where there is a will, there is a way.
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 3rd Mar 2010 20:30
Could be a graphics card problem.
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 3rd Mar 2010 21:40 Edited at: 3rd Mar 2010 22:02
How is that i can run the application without problem and see everything?

EDIT: Nevermind i upgraded dbpro again and it works now.I was reinstalled it, with older version on purpose because when i upgrade to 7.4 certain code stop working and now i suppose that i need to rewrite it.So if someone have problem with this shader, try upgrade!

Where there is a will, there is a way.
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 3rd Mar 2010 23:03
Ah, I should have thought of that possibility.

Thanks for letting us know.
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 5th Mar 2010 01:33
It`s good to say how i solve my problem if anyone else have similar it can get rid of it same way i did.

Where there is a will, there is a way.

Login to post a reply

Server time is: 2025-06-12 11:02:22
Your offset time is: 2025-06-12 11:02:22