Search Issue Tracker

By Design

Votes

0

Found in

Issue ID

1059201

Regression

No

[SRP] Inspecting culling result

Graphics - General

-

SRP Repo: Issue #1345

Good afternoon, I am in the process for a while to try to implement shadows in a custom SRP using the SRP demo from the unity's blog post as a base, right now I butchered the shadow pass from LWRP, code runs fine, I can see the shadow pass being registered in render doc, but no shadows get rendered,
I don't mean they don't show up in the shadow map, there is not the draw call at all, this led me to think that maybe something is going wrong with the shadow culling result.
When I run the same setup using build-in LWRP, I can see the drawIndexed call in render doc in Shadow.draw.

I have tried to get any kind of information out of the culling result but with no luck. Is it possible to expose any kind of information out of it? Ideally would be nice to get all the names of the object that passed or did not pass the culling, if that is too troublesome even just an int saying how many survived the culling would be a help already.

Also, other then the LWRP is there a minimal example of shadows or other more advanced SRP features or any doc on how to deal with it?

Best regards

M.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.