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 / Shader Pack question

Years of Service
User Offline
Joined: 21st Oct 2015
Location: Lisbon
Posted: 6th Nov 2017 21:55
Does any one knows if this AppGameKit shader pack can work on Dark Basic Pro?
VIP Member
Gold Codemaster
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 8th Nov 2017 08:39
definitely NO.
DBPro = DirectX = HLSL (shader language),
AGK = OpenGL (ES) = GLSL (shader language)
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Years of Service
User Offline
Joined: 25th Feb 2008
Playing: Planescape:Torment
Posted: 10th Nov 2017 15:34
It can't work with DBPro from the box.
But you can convert it from GLSL to HLSL.
In such simple shaders syntax will be much similar. (such as vec4 = float4 )
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 15th Nov 2017 14:41 Edited at: 15th Nov 2017 14:41
Yes you could translate the shaders from GLSL to HLSL also AGK's syntax isn't pretty far from DBpro so translating the lib is also possible.
Not sure if I will translate it to HLSL and DBpro in the future...but better don't count on me for the translation, as AppGameKit support comes first

Login to post a reply

Server time is: 2024-02-26 13:56:04
Your offset time is: 2024-02-26 13:56:04