Jump to content

Recommended Posts

Posted

These are unused but working BlendOp options as found inside the GraphicsEngineDX10.dll:
MODULATE_AND_ADD_SRC
MODULATE_AND_ADD_DST
MODULATE_MUL_2
MODULATE_INV_SRC
MODULATE_INV_DST

My discovery was dictated by my hunger of finding a proper solution to the DTV filter which does not work properly in-game with night environments, especially with the much darker nights of my realSKY mod. Below you'll find a comparison between stock filter material data and the custom one using another BlendOp:

Stock MODULATE, day

img00003.thumb.JPG.3158018eb2b409617c2287a09aca4c3d.JPG

Stock MODULATE, night

img00004.thumb.JPG.0ecf1514a72b40196db3d56dfb79ebc2.JPG

 

Unused MODULATE_MUL_2, day

img00006.thumb.JPG.a5588d78bdd5bcb4c2c360195e5d741d.JPG

Unused MODULATE_MUL_2, night

img00007.thumb.JPG.75db368044d7bdda1e2da2b913b1edca.JPG

 

The main drawback of MODULATE_MUL_2 is that it doubles the MODULATE option, so at day the image is lightened too much than the stock MODULATE. Mind you, the screenshots were taken with the realSKY mod on Unlimited settings, so the post processing effect adds bloom to already bright areas. However, at night MODULATE_MUL_2 brings a big improvement as you can finally see the ground and its objects more easily.

PS: Please admins, pin this topic. The unused BlendOps I found work just fine, and may be useful to other modders willing to experiment with them. 

  • Like 4
  • Thanks 2
Posted

those were there since day one IIRC, just modulation options built in, I was fiddling with those for some different trees graphics blending options for soem test treemods back when, never found them usable, nice to see those actually do have some use on certain materials/textures

  • Like 1
Posted
9 hours ago, Stary said:

nice to see those actually do have some use on certain materials/textures

Though it's not perfect, at least it seems it's an improvement for night missions. I wonder if the DTV could be improved via shader. By default TW makes use of twColor1.FX. However, it seems in the game files there is an unused FltDTVFilter.FX shader. It doesn't work but I wonder if the code was a work in progress by TK. The game does not feature true IR images so black and white FLIR still is not a thing.

  • Like 1
  • 1 year later...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..