Outline shader with low draw calls?

Hi,

I’m working on the outline shader thing for IOS game, but it seems quite expensive. (The draw calls could be more than 300 sometimes) I’m wondering if there’s any way to solve this problem and limit the draw calls to around 80?

Thx a lot ! :stuck_out_tongue:

There are different approaches to achieving outline effects, but most add one more pass for each shader than without the outline. We have very little information about your scene, so it’s impossible to say how many draw calls are required (how many/what sort of lights do you have? Forward or deferred rendering? Shadows? Are your objects batched?)