Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   Troubleshooting (http://www.abandonia.com/vbullet/forumdisplay.php?f=11)
-   -   Help Getting Shaders to work with DBGL (http://www.abandonia.com/vbullet/showthread.php?t=46971)

PerryRhodan 03-12-2020 11:41 AM

Help Getting Shaders to work with DBGL
 
Hello, :hello:

Does anyone here use DBGL? I've been trying various versions of DOSBOX that supposedly support GLSL shaders, but I can't get any of the shaders to work. I've put the shaders folder in the Dosroot folder, but shaders still don't work. I've tried Dosbox Staging, Dosbox X, Dosbox ECE and Dosbox SVN without success. (Latest Builds)

I would appreciate any help. I'm trying to get all my Dos games to look like this. ( See link below)

https://mattiasgustavsson.itch.io/dosbox-crt

Also does anyone know how to get Roland Mt32 sound and speech woking at the same time using Dosbox with the game,"Beneath a Steel Sky -CD Version"? I get speech with Sb16, but no speech at all if I select the Roland driver.

I would appreciate any help. Thanks! :D

zirkoni 03-12-2020 05:48 PM

I don't use frontends or shaders but about BASS:
- Set the Sound Blaster IRQ to 5 in DOSBox.conf
- Set sbmixer=false in DOSBox.conf
- Use fixed CPU cycles (around 10k-15k)


Or use ScummVM instead of DOSBox...

Smiling Spectre 04-12-2020 09:04 AM

I know that Daum fork works with shaders. Some from newer versions (ECE I believe) supports it too. But you must check output settings - surface doesn't allow any screen modifications, and overlay usually is too slow (if work with it at all). OpenGL must work, I think.

zirkoni 04-12-2020 06:18 PM

Just out of curiosity, I tried some shaders:
1. Checked out the newest DOSBox SVN revision (r4393)
2. Compiled DOSBox with Visual Studio 2019
3. I downloaded some shaders from here: https://github.com/tyrells/dosbox-svn-shaders
4. Used the recommended settings (openglnb, scaler = none, etc.)


I had dosbox.conf in the same directory with dosbox.exe. The glsl files were also in the same path. I modified dosbox.conf glshader option to whatever shader file name I used (e.g. glshader = crt-lottes.glsl).


With my GPU (Intel integrated) I got lots of compilation errors with most shaders. Looks like it doesn't like the lines that looks like:
#pragma parameter ...


I commented out all those lines and the shaders compiled fine. And DOSBox output looked different than default.


I guess those parameter lines have some purpose so the output is probably not exactly what is intended. I don't know enough GLSL to say what they do. Would probably figure it out with some effort...


The current time is 04:35 AM (GMT)

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.