Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Billboard : one face is "dark"

Discussion in 'World Building' started by merfolkjh, Mar 10, 2023.

  1. merfolkjh

    merfolkjh

    Joined:
    Sep 18, 2021
    Posts:
    20
    Hello,

    i try to create a working billboard, using Shader "Universal Render Pipeline/Nature/SpeedTree7 Billboard"

    it's almost ok except, one face is black.
    When the object has a directionnal light on it, it's good, but in the other case, it's full dark

    upload_2023-3-11_0-14-37.png


    Any way to fix this ? (add lights in all directions ?)

    Thanks you.
     
  2. mattb-unity

    mattb-unity

    Unity Technologies

    Joined:
    Feb 7, 2020
    Posts:
    55
    This sounds like expected behavior because of how lighting calculation works. One side is facing the directional light so it will be lit, the other side is not, so it won't. So yeah if you want it to be lit on both sides, you need directional light s positioned such that light hits both sides.
     
  3. mattb-unity

    mattb-unity

    Unity Technologies

    Joined:
    Feb 7, 2020
    Posts:
    55
    A point light may work if you just want one light, because a point light emits light in all directions. You'd have to play with the positioning I think to get it working.