- Home /
Why I'm getting 4 draw calls per mesh??
In a simple sceene with one unity plane, one camera and one pixel light with hard shadows I get 4 draw calls for plane. Why???,
What rendering mode are you using, and what shader is assigned to the plane material?
Answer by Bash Mills · Mar 20, 2014 at 09:08 PM
Is it a directional light or another type of light? I'm guessing you're also using forward rendering. Forward rendering in Unity has a draw call for ambient light, emissive light, spherical harmonics and vertex lights. Then an additional pass is made for each pixel directional light. Point lights and spot lights always take an additional pass each if they are pixel lights. I believe additional passes are also made for each light if there are shadows on.
https://docs.unity3d.com/Documentation/Components/RenderTech-ForwardRendering.html https://docs.unity3d.com/Documentation/Components/class-Light.html https://docs.unity3d.com/Documentation/Manual/OptimizingGraphicsPerformance.html
Your answer
Follow this Question
Related Questions
Why does the number of draw calls and tris double when I add cars ? 2 Answers
Draw calls are adding up fast with asset packs 2 Answers
URP DrawCall error 0 Answers
Is it possible to utilize iphone dynamic batching with "traditional" animated sprite techniques? 1 Answer
detailed render statistics 1 Answer