PC-Principal / extended_flashlight_range

Mod for Lethal Company that extends flashlights range
MIT License
9 stars 0 forks source link

It's too bright (Create flashlight config) #6

Open 1410677474 opened 5 months ago

1410677474 commented 5 months ago

It's too bright, sometimes I can't see clearly. Can I use config to set the brightness?

PC-Principal commented 5 months ago

Hello! At the moment the config is not supported, I’ll try to do it if I have free time

PC-Principal commented 5 months ago

It's too bright, sometimes I can't see clearly. Can I use config to set the brightness?

At the moment, do you think that values like this are normal?

Lethal Company Screenshot 2024 03 18 - 13 26 34 62 Lethal Company Screenshot 2024 03 18 - 13 26 38 47 Lethal Company Screenshot 2024 03 18 - 13 26 47 54 Lethal Company Screenshot 2024 03 18 - 13 26 51 06

1410677474 commented 5 months ago

b600f1b589363262d66df1c8d28d159

1410677474 commented 5 months ago

It's normal on the ship, but it's too bright outside

1410677474 commented 5 months ago

It's too bright and white. It's unnatural

PC-Principal commented 5 months ago

Agree. As far as I know this has something to do with the fog problem, with fog this effect can be seen regularly.

I think this suggests creating a config to really change the brightness of the flashlight in the menu when necessary.

NeatWolf commented 4 months ago

I think this suggests creating a config to really change the brightness of the flashlight in the menu when necessary.

if it's using Unity HDRP there's also another way to tweak it while keeping the intensity the same. I'm not quite sure how to tweak it via harmony - in Unity it's on the same gameObject of the Light component but via script it's on another component, (HDAdditionalLightData) and the property is volumetricDimmer.

https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition%4011.0/api/UnityEngine.Rendering.HighDefinition.HDAdditionalLightData.html?q=volumetricDimmer

Generally it's 1, but it's a value independent from the intensity and ranges from 0 to 16 (or more). It only affects the volumetric effect, which is the one that makes everything bloom out. It's...more realistic but sometimes it's too much and needs to be toned down - would be great to have some control over it :)