Search Unity

Trying to copy HDRI sky out of source, but can't get it working

Discussion in 'High Definition Render Pipeline' started by ZeroSinner, Jan 17, 2020.

  1. ZeroSinner

    ZeroSinner

    Joined:
    Apr 12, 2013
    Posts:
    13
    I'm trying to copy the HDRI sky source out of https://github.com/Unity-Technologi...pipelines.high-definition/Runtime/Sky/HDRISky

    I've made some changes to avoid internals, etc, and I renamed it to Space, instead of Sky, moved it to my own namespaces but I still can't get it working. When I set my Sky and Fog volume to use HDRI sky, I get the standard sky, but when I set it to my new "HDRI Space" one, and add the Space override settings, my camera still clears to the fallback color blue, with no sky in sight.

    I've tried to follow this guide prior https://docs.unity3d.com/Packages/c...inition@7.1/manual/Creating-a-Custom-Sky.html but I couldn't get it working from that either.

    Attached is my latest attempt.

    I imagine I'm missing something simple. I'm trying to resolve the Shader by shader path, and that's the part I'm most uncertain of.

    [EDIT]
    Jan. 19 - Today I tried to do something similar with the GradientSky using the sources in the "Packages" folder in my unity project. This also failed spectacularly. I'm kinda left scratching my head. Any guidance or troubleshooting steps would be greatly appreciated.

    [EDIT2]
    Jan. 20 - Just realized today that I never mentioned it but I'm using Unity 2019.3.0f5
     

    Attached Files:

    Last edited: Jan 20, 2020
  2. ZeroSinner

    ZeroSinner

    Joined:
    Apr 12, 2013
    Posts:
    13
    I no longer believe it's an issue with the shader path.

    I did notice one of my files were in the wrong namespace, but that was an organizational issue, and didn't result in any errors, nor did it fix the problem..