I am working on a input manager and I have been searching for how to manipulate the screen brightness and screen contrast through code. Is this possible? I mean I always have the screen resolution, quality, and fullscreen options working perfectly but I need help with brightness and contrast.
Answer by skovacs1
Dec 03, 2010 at 06:04 PM
Typically those are something that can be set on the monitor and the video card and sometimes even in the video card per application or application content type (video, image, etc.). Unity provides no scripting interface for accessing these settings.
You could access them through a plugin or implement that kind of control through a full-screen image effect shader, both of which requiring Unity Pro.
Ahh okay thank you I was wondering if it was possible or not. I know some games allow access of DirectX controls through them itself which can control these options.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
No one has followed this question yet.
Screen brightness on Android
iPhone screen becomes dark while playing racing game
Contrast and brightness via image effect
[HELP] Brightness/Contrast Slider In Unity 5?
Custom Brightness/Contrast shader doesn't work on OpenGL ES 2.0