Trying to understand a weird issue with DrawMeshInstancedIndirect and pointlights.
Example:
Legacy rendering pipeline
1 mesh with single material with 2 passes, opaque forwardbase + forwardadd.
With a single directional light the numbers are as expected: 2 setpass calls
But with a single pointlight that number jumps to 20 !
Shadow cast/receive is off, no GI, no lightmaps etc.
The Frame Debugger shows a ton of extra draw calls in the Transparency pass regardles of which pass i disable in the shader.
Why would there be any transparent draw calls when the only shader pass is Opaque ForwardBase?
Any why so many?
Does anyone have any idea what’s wrong with DrawMeshInstancedIndirect + pointlights?