Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change property hint range for camera attributes exposure multiplier #79138

Merged

Conversation

aaronfranke
Copy link
Member

@aaronfranke aaronfranke commented Jul 7, 2023

The current range hint max of 2048 is just absurd too high. In the default scene, an exposure multiplier of about 50 blows up to a completely white screen. I was watching somebody try out Godot 4.1 on a Discord stream when they changed this value and were surprised that most of the slider was completely useless.

This PR changes the range hint to have a max of 8, but also adds or_greater so any value can still be typed in.

@aaronfranke aaronfranke added this to the 4.2 milestone Jul 7, 2023
@akien-mga akien-mga requested a review from clayjohn July 7, 2023 09:17
@akien-mga akien-mga added the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Jul 7, 2023
Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The range was intended to fit well when using physical light units. But since this variable is exposed even when physical light units are disabled, it makes sense to use a reduced range by default with the ability to go outside the range.

To be clear, the range is not absurd, it is perfectly appropriate when dealing with real light units.

@YuriSizov YuriSizov merged commit 38ccab2 into godotengine:master Jul 17, 2023
13 checks passed
@YuriSizov
Copy link
Contributor

Thanks!

@aaronfranke aaronfranke deleted the camera-exposure-range-hint branch July 17, 2023 16:28
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.1.2.

@YuriSizov YuriSizov removed the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants