Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by cgraf1 · Jun 26, 2019 at 05:46 PM · lightingimagesliderpost processingbrightness

Adjust Brightness Screen

Hello everyone,

I was wondering if anyone knew how to make one of those Adjust Brightness screens that you see in a lot of games, specifically horror games. I figure I have to use a slider, but I am not quite sure what I am adjusting. Something in Post Processing maybe? Also not sure exactly how to set up the image that is supposed to show.

If you don't know what I mean, here is an example: alt text

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image aoun111 · Jul 09, 2019 at 11:23 AM 0
Share

There is a post exposure option in color grading in post processing. Via script, edit the post exposure value to match the slider's.

avatar image aoun111 · Jul 09, 2019 at 11:30 AM 0
Share
 using UnityEngine;
 using UnityEngine.UI;
 using UnityEngine.PostProcessing;
 
 public class SetBrightness : $$anonymous$$onoBehaviour {
     public PostProcessingProfile ppprof;
     public Slider brightnessSlider;
 
     void Start() {
         ppprof = transform.GetComponent<PostProcessingBehaviour>().profile;
 }
 
     void Update() {
         //Access colorgrading option here.postexposure = brightnessSlider.value;
     }
 }

avatar image aoun111 · Jul 09, 2019 at 11:31 AM 0
Share

Attach this script to Camera which should have postprocessbehaviour

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by ThatCreepyGuyInTheCorner · Feb 06, 2020 at 11:56 AM

https://assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/simple-lut-adjuster-51762#reviews this free asset helped me make my brightness settings, it has a bunch of camera effects that can be accessed from scripts and that includes brightness.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by haseeb5639 · Feb 06, 2020 at 06:40 AM

https://docs.unity3d.com/2019.2/Documentation/ScriptReference/Screen-brightness.html

May be it helps you.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image holyfot · Sep 27, 2020 at 05:38 PM 0
Share

Actually this doesn't work when compiled (test 2019.4.3f1 LTS). Nor does setting the ColorGrading Gamma/Gain. They work in editor though.

avatar image MediaTale · Mar 24, 2021 at 11:02 PM 0
Share

This is only supported on iOS.

avatar image
0

Answer by kareem12otoum · Apr 23, 2021 at 09:12 PM

https://forum.unity.com/threads/how-to-modify-post-processing-profiles-in-script.758375/

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

153 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Reading a color from an image 2 Answers

Contrast and brightness via image effect 2 Answers

Callibration Scene for HDRP 0 Answers

My sand texture is strangely bright. 0 Answers

Lighting, brightness 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges