두개의 같은 이지미를 겹쳤을 때 테두리에서 뒤에있는 이미지가 조금 보이는 문제가 있습니다.
회색 머리카락의 테두리에 뒤에있는 빨간색 머리카락이 조금 보입니다.
위에 두 이미지는 spine의 에서의 경우이고 아래의 이미지는 유니티로 가져왔을 떄의 경우입니다.
두 이미지를 겹쳤을 경우 테두리 문제
- Изменено
첨부 파일 이미지가 정확히 같은 위치에 있습니까? 위치가50.0, 157.0
과 같고50.0, 157.01
과 같이 약간 떨어져 있지 않습니까?
Are the attachment images placed at exactly the same position? Are positions equal like both 50.0, 157.0
and not slightly off like 50.0, 157.01
?
그것들이 정확히 같은 위치에 있다면, 문제가있는 자산을 zip 패키지로 contact@esotericsoftware.com으로 보내 주시겠습니까? 그럼 우리는 그것을 볼 수 있습니다.
If they are exactly at the same position, could you please send us the problematic assets as a zip package to contact@esotericsoftware.com? Then we can have a look at it.
메일로 프로젝트 파일을 전송해드렸습니다.
해당 문제는 서로 색이 다른 스킨을 만드는 도중에 발생했습니다.
기본 스킨 위에 색이 다른 각각의 파츠들을 붙이는 방법을 사용했었데,
색이 다른 스킨을 만들기위한 더 좋은 방법이 있으면 알려주시면 감사하겠습니다.
제가 시도해본 다른 방법으로는 기본 스킨위에 다른 파츠를 붙이지않고, 아래 이미지와 같이 붙이고자 하는 파츠를 분리하여 파츠가 없는 스킨위에 붙이는 방법을 써보았습니다.
I sent the project file by email.
The problem occurred while creating skins with different colors.
I used the method of attaching different parts of different colors on the basic skin.
If there is a better way to make skins with different colors, please let me know.
As another method I tried, I did not attach other parts on the basic skin, but separated the parts that I wanted to attach as shown in the image below and put them on a skin without parts.
그랬더니 아래 이미지들처럼 파츠가 붙여진 접점들에 공백이 나타났습니다.
해당 이미지들은 유니티에서 실행한 결과입니다.
뒤에있는 배경색이 캐릭터 사이사이에 보입니다.
Then, as in the images below, blanks appeared at the contact points where the parts were attached.
These images are the result of running in Unity.
The background color behind is visible between the characters.
사실 두 파츠를 붙인다고 했을때,둘중에 뒤에 그려지는 파츠를 배경으로해서
배경 파츠의 보이지 않는 부분(접촉되는 부분)을 더 그려주면 해결은 가능합니다.
하지만 이 캐릭터는 제가 그린것이 아니라 에셋스토어에서 구매한 것입니다.
따라서 처음부터 스킨을 만들기위한 레이어 구성이 아니기 때문에 수정하는것이 조금 번거롭습니다.
그래서 혹시 해결할 수 있는 다른 방법이 있는지 궁금해서 이렇게 질문드립니다.
질문이 많이 길었는데 말하고자 하는 내용이 잘 전달이 됬는지 모르겠네요.
항상 빠른 답변 해주셔서 감사합니다.
In fact, when you say that two parts are attached, use the parts drawn behind them as the background
You can solve this by drawing more of the invisible part of the background parts (the part that comes into contact).
However, this character was not drawn by me, but purchased from the Asset Store.
Therefore, it is a bit cumbersome to modify since it is not a layer configuration for creating skins from scratch.
So I was wondering if there is another way to solve it.
There were a lot of questions, but I'm not sure if what I was trying to say was delivered.
Thank you for always responding quickly.
그랬더니 아래 이미지들처럼 파츠가 붙여진 접점들에 공백이 나타났습니다.
해당 이미지들은 유니티에서 실행한 결과입니다.
뒤에있는 배경색이 캐릭터 사이사이에 보입니다.Then, as in the images below, blanks appeared at the contact points where the parts were attached.
These images are the result of running in Unity.
The background color behind is visible between the characters.
반투명 영역에서 배경색이 빛나면 셰이더에서 'ZWrite'(심도에 쓰기)가 활성화 된 경우가 대부분입니다. 어떤 쉐이더를 사용하고 있습니까? 머티리얼 / 쉐이더 매개 변수를 보여주는 스크린 샷을 게시 해 주시겠습니까?
When background color is shining through in semi-transparent areas, it is mostly happening when ZWrite
(write to depth
) is enabled at the shader. Which shader are you using? Could you please post some screenshots that show your material / shader parameters?
애셋 관련 문제를 재현하려고 할 때 배경색이 나타나지 않았습니다 (표준스파인 / 스켈레톤
셰이더 사용).
When trying to reproduce the problem with your assets, I did not encounter the background color showing through (using the standard Spine/Skeleton
shader):
내가 주목 한 것은 Spine 프로젝트에서 이미 빨간색 영역을 보았습니다.이 영역은 RGB 부분에서 인접 픽셀 (투명 영역)이 빨간색으로 표시되고 알파는 0입니다. 픽셀의 선형 보간으로 인해 빨간색 RGB 그런 다음 부분이 보이는 부분으로 번져서 투명한 테두리에 빨간색 광선이 나타납니다.
What I noticed is that in the Spine project, I see a red area already, which seems due to neighbor pixels (the transparent area) being colored red in the RGB part while alpha is 0. Due to linear interpolation of pixels, the red RGB part then bleeds into the visible parts and causes a red glow at the transparent border:
Spine에서이 빨간색 테두리가 보이지 않는 경우 : 보간없이 픽셀 아트를 렌더링하도록 Spine을 변경하기 위해 '설정-그래픽-뷰포트 선형 필터링'을 비활성화 했습니까?
If you don't see this red border in Spine: Did you perhaps disable Settings - Graphics - Viewport Linear Filtering
to change Spine to render pixelart with no interpolation?
배경색이 빛나고있는 문제를 보여주는 최소한의 Unity 프로젝트를 보내 주시겠습니까?
Could you please also send us a minimal Unity project that shows the problem of the background color shining through?
선형 필터링을 적용하지 않으려면 텍스처 가져 오기 설정에서 '필터 모드'를 '포인트 (필터 없음)'로 설정하여 Unity에서 선형 필터링을 비활성화 할 수 있습니다.
If you do not want to apply linear filtering: You can disable linear it in Unity at the Texture import settings, by setting Filter Mode
to Point (no filter)
.
유니티 프로젝트를 메일로 보내드렸습니다.
말씀 드렸던데로 spine에서는 선형 필터링 옵션을 끄니 더이상 문제가 나타나지 않았습니다.
하지만 유니티에서는 여전히 발생하고 있습니다.
쉐이더는 디폴트 쉐이더를 사용했습니다.
I sent a Unity project via email.
As you said, turning off the linear filtering option in spine did not cause any more problems.
But it's still happening in Unity.
I used the default shader.
어 다시 해보니까 정상적으로 됩니다!
텍스쳐 임포트 세팅이 재대로 되지 않았었나봐요.
도와주셔서 정말 감사합니다.
Uh, it works fine again!
The texture import settings may not have been done properly.
Thank you very much for your help.
다시 연락해 주셔서 감사합니다.
Glad to hear, thanks for getting back to us!