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

Bug Shadows not showing

Discussion in 'High Definition Render Pipeline' started by ytryrtyrty, Jan 2, 2023.

  1. ytryrtyrty

    ytryrtyrty

    Joined:
    Jun 27, 2022
    Posts:
    8
    If im using RayTracing the shadows for trees do not show, but if I turn it off the shadows work good
    The First photo has raytracing turned off Screenshot_20230102_093107.png In the second one its turned on Screenshot_20230102_093044.png Screenshot_20230102_093107.png Screenshot_20230102_093044.png
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,974
    Can you share the shadow settings?
     
  3. ytryrtyrty

    ytryrtyrty

    Joined:
    Jun 27, 2022
    Posts:
    8
    inside the hdrp assets?
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,974
    Yes
     
  5. ytryrtyrty

    ytryrtyrty

    Joined:
    Jun 27, 2022
    Posts:
    8
  6. ytryrtyrty

    ytryrtyrty

    Joined:
    Jun 27, 2022
    Posts:
    8
    first one is for high fidelity and second one is for performant
    i have the same issue on balanced as in high
     
  7. PutridEx

    PutridEx

    Joined:
    Feb 3, 2021
    Posts:
    1,136
    Raytraced shadows do not work for objects with static batching enabled.
    They also don't work for terrain details & trees. You have to place objects normally, not through the terrain.

    The latter goes for all raytracing effects, not just shadows. In a recent version (not sure, maybe 2022.2) terrain can receive raytraced effects like AO, but not the objects rendered through the terrain. (Terrain details & trees won't work still)
     
    DevDunk likes this.