Open Andy-Roger opened 5 years ago
This shader only supports the forward lighting method, so if you're going to use HDRP with a forward-only configuration, it might be possible to adopt the shader to it.
In my opinion, forward-only HDRP is not a common option for developers. Its usage is pretty limited. That's why I'm not very motivated with the idea.
What do you think about it? Is forward-only HDRP an allowable option for you?
I am working on a project that uses Unity in HDRP to render objects over a camera feed to make AR, we mainly use deferred rendering.
We may be able to render the shadows with another camera that uses forward that only renders shadows. Then render the shadows to a texture with alpha transparency behind the texture that renders the objects.
In the scenario forward rendering could be an option, but only on the camera that renders shadows. Then composite that with the camera that uses deferred rendering.
The approach you suggested makes sense. Thank you for the suggestion. I'll consider it.
@keijiro do you have any news regarding the integration of the HDRP in this shader? Would be awesome if you did.
@FutureCake Unfortunately, no.
ShadowMatte is now a built-in option for unlit shader graphs in HDRP. More info here: https://forum.unity.com/threads/matte-shader-only-shadows-in-hdrp.740684/
Do you know how to make this shader work with the HDRP?