shadowmage45 / TUFX

Textures Unlimited Special Effects
Other
24 stars 10 forks source link

Add HDR Rendering toggle #11

Closed shadowmage45 closed 4 years ago

shadowmage45 commented 4 years ago

Even though some part shaders have issues with it, would still be good to support in general.

Cameras need HDR enabled. Do they need a specific format for their render-target/texture? Sun/light values might need to be adjusted to utilize the HDR value range.

Would rather not have to adjust lights manually, as this could cause compatibility issues with any mods that alter existing sun config(s), re-layout the KSC, etc.

shadowmage45 commented 4 years ago

Toggle added to config GUI to enable HDR on a per-profile basis. HDR parameter added to profile save and load methods. Code added to update profile value when toggled from UI, and code added to update the camera's HDR setting when profiles are applied.