Search Unity

Question Shadergraph 360 Panorama Possible??

Discussion in 'Shader Graph' started by Davonafe, Jul 15, 2019.

  1. Davonafe

    Davonafe

    Joined:
    Nov 22, 2015
    Posts:
    6
    Hello, I am looking for information on how to create a simple panorama or 360 shader using shader graph. The is is that we had a project that was using the LWRP and the sky was a simple unity provided skybox/panorama shader and that worked. We switched over to the HDRP and the shader renders black.

    Is there something I can do top add support for a legacy shader or can someone point me in the right direction for creating my own panorama/skybox//360 shader?

    Also it should be noted that I am playing a 360 video in the material. Which worked before the switch.
     
  2. jae026

    jae026

    Joined:
    Oct 29, 2016
    Posts:
    68
    guess not
     
  3. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,342
    There are two questions you’re asking here:
    Can you make a 360 panorama shader with Shader Graph? Yes, that’s pretty easy actually.
    Can you use Shader Graph to make HDRP sky shaders? No, which makes the first question moot.

    You also can’t use sky shaders that work in the default rendering paths or LWRP in the HDRP as it uses it’s own custom skybox setup.

    https://github.com/Unity-Technologies/ScriptableRenderPipeline/wiki/sky-and-fog
     
  4. Davonafe

    Davonafe

    Joined:
    Nov 22, 2015
    Posts:
    6
    Thanks for relying.