-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Divine Divinity Gamma setting gets reset to 1.0 #280
Comments
Yeah, that feature isn't supported yet, only got a few stubs for it right now https://github.com/FunkyFr3sh/cnc-ddraw/blob/master/src/IDirectDraw/IDirectDrawGammaControl.c Will have to think about a solution for it |
Direct3D9 does have gamma controls. But as far as I can tell they only work in exclusive fullscreen mode. This might be a case where shaders are needed. The same issue happens in d3d8to9 because Direct3D8 allows setting gamma in all modes. Whereas, setting gamma in Direct3D9 only works when in exclusive fullscreen mode. Last time I checked, WineD3D solved this by using Windows gamma controls. However, that makes the whole screen change gamma, not just the specific window. I am not sure about the OpenGL renderer, but it may have similar problems. |
There's now a new shader called "image-adjustment.glsl" included - it will get the job done. Also, latest version can now combine 2 shaders, so you could upscale with one and use image-adjustments as the second shader (rename to same as upscaler and append .pass1) Not very user friendly yet, but get's the job done. Will try to get a better solution working later Values that can be changed in "shader-package.zip/shaders/misc/image-adjustment.glsl"
Latest build: |
Have you tried this (?): https://www.gog.com/forum/divinity_series/divine_divinity_improve_performance |
Pretty much what the title says. When using cnc-ddraw with openGL renderer, adjusting gamma from the ingame settings gets immediately reset back to 1.0 after pressing OK. Does not happen if I launch the game without the wrapper.
The text was updated successfully, but these errors were encountered: