Wonse

Hello. I have 2 models, using the clipping mask. both have similar skeletons, the same atlas size (1 512x512), similar animations..

but one of the character is costing 50 times more performance than the other on unity. Is there a guide to get better performance when using mask ? it making my big computer play at 30fps, (it is a simple character, with the legs hiddens by the clipping mask)

can i send the scene to you to take a look ? (i cannot post it to the public) I'm still usign a 8 m old version of the spine plugging for unity, is there some novelty about the clipping since then ?
Аватара пользователя
Wonse
  • Сообщения: 16

badlogic

The clipping code hasn't changed in a while, so you are unlikely to see a performance boost when updating to the latest and greatest.

What does influence performance with clipping masks the most is the number of vertices in your clipping attachment, as well as the number of vertices/triangles in your region/mesh attachments. You can get some of that information in the metrics view in the Spine Editor Metrics - Spine User Guide

Show us what that says!
Аватара пользователя
badlogic

Mario
  • Сообщения: 1999


Вернуться в Unity