Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug Custom Sky example from docs doesn't compile

Discussion in 'High Definition Render Pipeline' started by lmbarns, Mar 28, 2023.

  1. lmbarns


    Jul 14, 2011
    I'm trying to implement this example from the docs

    HDRP 12.1
    Unity 2021.3.20f1

    In the NewSkyRenderer.cs it makes a call to GetSkyIntensity() which doesn't exist.

    Code (CSharp):
    2. using UnityEngine.Rendering;
    3. using UnityEngine.Rendering.HighDefinition;
    4. ...
    5. float intensity = GetSkyIntensity(newSky, builtinParams.debugSettings);
    Literally copying and pasting the example code.