+Menrva Posted June 4, 2022 Posted June 4, 2022 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 Stock MODULATE, night Unused MODULATE_MUL_2, day Unused MODULATE_MUL_2, night 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. 4 2
+Stary Posted June 4, 2022 Posted June 4, 2022 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 1
+Menrva Posted June 5, 2022 Author Posted June 5, 2022 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. 1
+guuruu Posted June 7, 2022 Posted June 7, 2022 And finally MODULATE_AND_ADD_DST. Also interesting ...
Recommended Posts