Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

no soft shadow in 2021.2 URP

Discussion in 'Universal Render Pipeline' started by djmilk, Nov 16, 2021.

  1. djmilk

    djmilk

    Joined:
    Jul 16, 2013
    Posts:
    4
    No response when clicking the soft shadow checkbox
     
  2. Ruslank100

    Ruslank100

    Joined:
    Apr 11, 2018
    Posts:
    44
    Hi, I also encountered this problem after updating to Unity 2022.1 Alpha (it also used URP 12 in the past), I believe I fixed the problem by building the game, it seems like it forces shader recompilation

    EDIT: I guess the topicstarter meant that he/she doesn't get soft shadows even after ticking that toggle, they remain hard instead. That was the case for me and building the game helped
     
    Last edited: Nov 16, 2021
  3. peterbay

    peterbay

    Unity Technologies

    Joined:
    Nov 2, 2017
    Posts:
    100
    That doesn't sound right. Could I get you to report an issue about this? Then we can have a look at it.
     
  4. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    Are you using realtime lighting?
     
  5. djmilk

    djmilk

    Joined:
    Jul 16, 2013
    Posts:
    4
    yes
     
  6. djmilk

    djmilk

    Joined:
    Jul 16, 2013
    Posts:
    4
    step)

    1. Create Project

    2. switch android platform

    3. change URP

    4. URP Asset file -> (Depth Bias 0, Normal Bias 0)

    5. Soft Shadows On / Off Check



    Changed in previous version (2021.1)

    Maybe the mobile shadow quality is lowered
     
  7. peterbay

    peterbay

    Unity Technologies

    Joined:
    Nov 2, 2017
    Posts:
    100
    Does it look different on device? In 2021.1 Unity started applying the SHADER_API_MOBILE in the Editor when the build platform is mobile, which makes the Editor apply the same techniques as on device. We did discover some issues with this though, and we're currently working to fix that.
     
  8. lagalot123

    lagalot123

    Joined:
    Nov 12, 2015
    Posts:
    12
    Same issue here using 2021.2 and URP 12.1.2, the soft shadow toggle doesn't change anything in either the editor or on an android device.
    If i create a new project with the URP sample the soft shadows work fine while the build target is PC but if i change it to android there's only hard shadows.
     
  9. Sergiyha

    Sergiyha

    Joined:
    Feb 15, 2016
    Posts:
    1
    Just enable it under shadows in your URP asset upload_2022-8-31_0-29-4.png
     
    EmiSanchez and DevDunk like this.