I have a single directional light in my scene, build is set to web player.
If shadows are off dynamic batching works, with shadows enabled it doesn’t work… why?
I have a single directional light in my scene, build is set to web player.
If shadows are off dynamic batching works, with shadows enabled it doesn’t work… why?
You might be missinterpreting the data.
Each mesh touched by shadows that is a shadow receiver is redrawn once again with a special “shadow material” to render the shadow on top, if you are in forward rendering
Well, in forward rendering I read parameter BATCHED = 0 on the stats… all the objects are receiving and casting shadows of course.
Even if each mesh should be redrawn once for the shadow, I expect batching working for the main objects render, right?
Otherwise we can safely say that then using shadows dynamic batching is not working. Or, actually it’s not working for sure because I’m using a single material for around 50 objects but BATCHED remains at 0 with shadows on but it grows with shadows off.
the main objects likely aren’t batched for your sake, otherwise the whole batch is rerendered if an object is touched I guess.
So, synthesizing, with shadows no dynamic batching, right?