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.

Feature Request Change specular intensity

Discussion in 'High Definition Render Pipeline' started by DrSeltsam, Jun 14, 2021.

  1. DrSeltsam


    Jul 24, 2019
    Would it be possible to expose settings to change the specular lighting intensity? By default it's a bit too intense on some materials in my case, and unfortunately I cannot disable it per material. It's possible to disable it per light though, but unfortunately there is no way to change the specular intensity (and actually I don't want to disable it, just lower the intensity).

    The LightData structs in the LightLoop already have a specularDimmer field, but currently there is no such setting in HDAdditionalLightData...

    The FrameSettings even have a "specularGlobalDimmer" property (which is also used in the LightLoop), but it's internal and has no setter. I've modified the HDRP package and set this to a lower value than 1, which provided a much better overall result in my particular case, but it would be awesome if the global dimmer value was accessible from outside.

    It would be even better if the HDAdditionalLightData would also get a dimmer value for specular lighting (so we can change the specular intensity per light), but in my case an accessible global dimmer value would be sufficient (especially since it's already there, just not exposed) :D
    Ruchir likes this.
  2. Ruchir


    May 26, 2015
    Even I have been searching for this, the workaround I used was to set one light to only affect diffuse and add another light that only affects specular, but as you can guess it tanks my performance in bigger (forest) scenes (especially when shadows are needed).