Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

how do i change the bloom intensity and threshold in code without having an argumentException?

Discussion in 'Scripting' started by JustMau, Aug 7, 2020.

  1. JustMau

    JustMau

    Joined:
    Nov 30, 2016
    Posts:
    1
    like how can i can change it and access it from a separate script.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    8,455
    Steps:

    1. find out which argument is wrong
    2. find out why it is wrong (i.e., get the value, compare it to limits specified in bloom documentation
    3. fix it.
     
  3. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    7,965
    And if you can't figure it out,
    4. Post your actual code (in code tags), and copy and paste the actual exception.
     
    Kurt-Dekker likes this.
unityunity