Hi.
I want to see correct shadow from instances of merged geometry. At the moment shadows are cast from the whole geometry at once, without considering that I am drawing an instance.
How can i do this?
Hi.
I want to see correct shadow from instances of merged geometry. At the moment shadows are cast from the whole geometry at once, without considering that I am drawing an instance.
How can i do this?
I have the same issue with shadows and merged geometry. Any advice would be appreciated!
Adding @nasimiasl as it seems to be a side effect of your custom material.
@Evgeni_Popov can help assigning this material to generate the shadowmap as well I believe.
I’m not sure I understand exactly what you want to do but if you want that the shadows match the mesh display you can use the shadowDepthWrapper
property of the material: