Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URP Materials not receiving shadows from point lights #394

Open
EvaUnit10032 opened this issue Feb 15, 2025 · 1 comment
Open

URP Materials not receiving shadows from point lights #394

EvaUnit10032 opened this issue Feb 15, 2025 · 1 comment

Comments

@EvaUnit10032
Copy link

Describe the bug
In the built-in render pipeline, shadows can be cast onto objects with the toon shader from point lights. However in URP (and HDRP) this is broken.

To Reproduce
Open a project in URP, turn off shadows for the directional light, turn on shadows for a point light, put the Toon Shader material onto a floor or prop (like a table), tick the receive shadows box to be on in the inspector, put another object between the light and the object with the Toon shader.

Expected behavior
The object between them should block the point light and cast a shadow onto the object with the toon shader.

Screenshots
The first image is of the shadow not being received by the object in URP while it successfully is cast onto the floor which is the standard URP lit texture. The second image is of the shadow being successfully received in the built-in render pipeline. The floor is missing because it was a URP material.
Image

Image

Desktop:

  • OS: Windows 11
  • Browser: Standalone
  • Unity Version 2022.3.57f1, Toon Shader version 0.11.0

Additional context
As I mentioned earlier this is also an issue in HDRP but I haven't tried raycast shadows yet so I don't know if those are broken from point lights as well.

@sindharta-tanuwijaya
Copy link

Hello.
Thank you very much for your feedback !

Would it be possible for you to share a test project for reproducing this issue ?

In the meantime, I'd like to let you know that due to the company reset last year, we at Unity have had to deprioritize the development of the ToonShader package at the moment.
Consequently, we have very limited resources at the moment to address existing bugs, although the above info that you provide will be beneficial for discussions with the community.

That being said, this could change in the near future, though I can’t provide any guarantees at this time.

We appreciate your understanding and support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants