- 수정됨
Change the size of the skeleton without losing quality
Hello,
I have Spine animation made in high resolution and when I export it to Unity, it is simply too big. I wanted to scale it down, but I noticed that the scale option in export settings affects only the size of the attachments, the size of the whole skeleton stays intact. What I see in Unity is the same sized object, but in lower quality. When I try to scale this down in Unity using various scale options, my object become very sharp and it looks bad. It doesn't matter if I do this with animation exported in normal or reduced scale.
Is there a way to fix this problem on the runtimes level?
Cheers
Yes, this is absolutely possible in the Unity runtime - just select the SkeletonData asset in the Project window and change the settings as follows:
This should immediately update all your instances.
My problem is I have large image I need to downscale.
It looks normal in Scene view
but in Game view it is pixelated.
arboooz wroteIt looks normal in Scene view
but in Game view it is pixelated.
Please have a look at the Texture's import Inspector settings in Unity, parameter Filter Mode
and check whether it is set to Point (no filter)
, you can then set it to Bilinear
to receive smoother pixel interpolation.
Please note that Scene and Game view show the same texture with the same filtering mode - the difference comes from the relative display size only.
Or did you perhaps mean that your original attachment image has a higher resolution than the exported atlas region?
This happens no matter what Filter mode I am using.
I figured the way to reproduce this problem.
What I am doing in my project is:
Change the Size attribute of the Camera component from 5 to 10
Change the Scale Transform for my Spine object from 1 to 0.3
In Game view, increase the value of the Scale - more I zoom, more pixelated the object will be.
But actually you can just switch the Camera size to much higher values like 30 and zoom in the Game view.
arboooz wroteIn Game view, increase the value of the Scale - more I zoom, more pixelated the object will be.
You used the Scale
slider of the game view? Then it will of course be pixellated, the Scale
slider is there for debugging purposes, it serves just as a "magnifying glass tool", not as a camera zoom.