Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Adding a Moon (Surface Texture) to my Directional Light (HDRP / Physically based Sky)

Discussion in 'Editor & General Support' started by DeadPoet, Sep 14, 2022.

  1. DeadPoet

    DeadPoet

    Joined:
    Jan 7, 2013
    Posts:
    32
    Hello everyone!

    I have a big problem getting my Moon texture to work. I am on Unity version 2021.3.6f1, HDRP.I have added the Moon texture to my directional light source, it is set as a celetial body. I can see the moon correctly in the sky, but no matter what I change (exposure, diameter, flare size/falloff, surface tint, light intensity etc.) I can't get the texture to show at all. I tried different textures too, but always to no avail. My visual enviroment is set to physically based sky, and the physically based sky is also set up inside the volume.

    I hope anyone has any ideas, it is always just a white (or if i made the surface tint different dark/colored) circle with no texture.

    Screenshot_3.png Screenshot_4.png
     
  2. coidevoid

    coidevoid

    Joined:
    Oct 26, 2017
    Posts:
    55
    Same problem, same setup.. No idea how to fix it
     
  3. yuriboeira11tx

    yuriboeira11tx

    Joined:
    Nov 30, 2023
    Posts:
    1
  4. Wolfos

    Wolfos

    Joined:
    Mar 17, 2011
    Posts:
    945
    Highly recommend updating to 2023.2 to get proper support for moons. Stability is fine.