Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Skybox

Discussion in 'Graphics Experimental Previews' started by rawieo, Jul 13, 2018.

  1. rawieo

    rawieo

    Joined:
    Feb 1, 2018
    Posts:
    12
    I'm not sure where to post this so excuse me for poor choice of board.

    The setup is:
    • HD Render Pipeline is in use
    • Camera / Clear Mode is set to "Sky"
    • Lighting / Environment / Skybox Material is set to my custom skybox
    • Scene has a GameObject with Skybox component attached to it, Custom Skybox is set to my custom skybox (I also tried Scene Settings but with no success. Procedural Sky does work though)
    • My custom skybox itself uses "Skybox/6 Sided" shader
    • A fair bit of post processing is enabled
    The trouble is:
    In game, as well as in Scene view, the skybox is nowhere to be seen
    upload_2018-7-13_16-10-50.png

    Am I missing something?
     
  2. Grimreaper358

    Grimreaper358

    Joined:
    Apr 8, 2013
    Posts:
    789
    For HDRP the environment settings are now on a game object called "Scene Settings"

    To create it you right click in the project view rendering -> Scene Settings

    Or at the top bar Game object -> Rendering -> Scene settings.

    Then from there you get the game object with the sky settings as well as other environment/scene settings.
     
  3. rawieo

    rawieo

    Joined:
    Feb 1, 2018
    Posts:
    12
    Should I use "HDRI Sky" to use custom skyboxes? The Skybox Component doesn't seem to be working. Is the Skybox Component even applicable when using HDRP?
     
  4. Grimreaper358

    Grimreaper358

    Joined:
    Apr 8, 2013
    Posts:
    789
    Yea, to use a custom HDRI you will have to add the HDRI Sky component to the list and under visual environment change it from Procedural to HDRI
     
  5. Grimreaper358

    Grimreaper358

    Joined:
    Apr 8, 2013
    Posts:
    789
    Also change the baking sky at the bottom to HDRI for the ambient lighting from your custom sky
     
  6. rawieo

    rawieo

    Joined:
    Feb 1, 2018
    Posts:
    12
    Everything works perfect.
    Thank you very much for your help!
     
  7. Grimreaper358

    Grimreaper358

    Joined:
    Apr 8, 2013
    Posts:
    789
    No problem