Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Dynamically change Environment Lighting Intensity

Discussion in 'Scripting' started by eco_bach, Jul 19, 2017.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,762
    I think it is in the RenderSettings object... haven't looked in a while though.
     
  3. elixir-bash

    elixir-bash

    Joined:
    Mar 27, 2012
    Posts:
    23
    Have you tried
    RenderSettings.ambientIntensity ?
    This must work ..
     
  4. rameez_safdar

    rameez_safdar

    Joined:
    Feb 18, 2020
    Posts:
    5
    This does not.
     
  5. jmarcos007

    jmarcos007

    Joined:
    Mar 2, 2017
    Posts:
    11
    Does not work for me too. I´m using HDRP and trying to change "intensity multiplier" of a directional light. Someone can help?
     
  6. matthia6

    matthia6

    Joined:
    Nov 24, 2020
    Posts:
    9
    Its RenderSettings.reflectionIntensity
     
    Mushegh_Khachatryan likes this.
  7. matthia6

    matthia6

    Joined:
    Nov 24, 2020
    Posts:
    9