- Змінено
Write to Depth Perfomance
There is difference in performance when activate Write to Depth for mobiles in the shaders?
For the Sprite
shaders (which I assume you are using), enabling Write to Depth
also automatically enables alpha testing (which is required then), so therefore it could have a negative impact, especially on mobile devices.
Alpha testing can have a negative impact on performance as it requires some parts of the pipeline to run sequentially instead of parallel, as things depend on each other.
You can only be sure by measuring though, how large the impact will be.