I noticed from the DCS World shaders that the game appears to be using incorrect method for sRGB gamma conversion. The game uses a simple raise to power, while the correct way is more complicated – result of using the wrong method is elevated black levels. That means that, especially when using a VR headset with an OLED screen, at night time everything looks slightly grey and not as dark and contrasted as they could.
I did a fix for this into the game’s shaders. My method uses sRGB conversion from older, deprecated w3c standard. It is not strictly correct as newer IEC 61966-2-1 standard is slightly different. But the w3c standard is easier to apply the game gamma slider setting alongside with the sRGB space conversion so I used that. In practice the difference between the two is likely unperceivable anyway.
The mod can be downloaded from here, its made for for DCS World version 2.5.3.23788 (it might or might not work with other versions). See the readme for install instructions.
I have only tested the mod with my VR performance mod, but hopefully it works even without it.
Hi, I love the shader Mod you did! It really works in my Rift. I use DCS mostly. Is it possible to change the shape, size, and color (especially the brightness) of the VR cursor in DCS? The little blue + is really way to bright at night and in the way during carrier ops. I mapped my mouse controls to my Warthog throttle and just look and press the throttle button to select. It is way to hard/non-immersive to shift my hand off the stick to click something. That’s why I use the throttle button. Anyway, I have spent days trying to figure out how they are doing it,. I think it may have something to do with fonts and/or the windows mouse. I have zero knowledge of code and all that. I really hope you can help!
Dan
Hello, I haven’t looked into it in detail but it looks like the VR cursor is drawn by the shaders\enlight\rayCursor.fx shader. Adjusting the PS function there should allow you to change how it looks… for example just to make it dimmer changing the return statement to something like:
return clr *(sp+0.5) * float4(0.1, 0.1, 0.1, 1);
might help.
Hi kegetys,
The fix is awesome, the colors of the landscapes are suberb now and I can read the Hornet screens much better in VR!!
This fix + your VR Shader performance mod are a must – although personaly I prefer do not overwrite model/functions/glass.hlsl.
Please publish the last fix on DCS forums.
Thank you very much. Your work make the VR guys more happy!!
Fer
Good to hear my stuff is helpful :) I did post the sRGB gamma fix on the ED forums here: https://forums.eagle.ru/showpost.php?p=3682313&postcount=12