- Bearbeitet
Spine 알파값 애니메이션 질문
안녕하세요 스파인 사용중에 문제가 생겨 질문드립니다.
현재 유니티 2020.3.9 사용중이며 URP 환경세팅으로 하고 있습니다.
하지만 SPINE SkeletonGraphic을 이용하여 Canvas에 그릴때 알파값이 빠지면서 어둡게 변합니다.
하지만 SkeletonAnimation으로 했을 경우에는 정상적으로 알파값이 빠집니다.
어떠한 부분을 체크해야 정상적으로 알파값이 적용될까요?
'CanvasGroup' 알파를 사용하고 있습니까?
그런 다음 Spine/Skeleton Graphic
Material 매개변수에서 CanvasGroup Compatible
을 활성화해야 합니다. SkeletonGraphicDefault
의 복사본을 생성하거나 원본 SkeletonGraphicDefault
애셋을 수정해야 할 수도 있습니다. 원본 'SkeletonGraphicDefault' 애셋을 수정하면 다른 모든 'SkeletonGraphic' 개체에 영향을 줄 수 있습니다.
이렇게 해도 문제가 해결되지 않으면 문제가 계속 표시되는 zip 패키지로 Unity 프로젝트를 최소한으로 보내주시겠습니까? contact@esotericsoftware.com으로 보내거나 포럼 게시물에 대한 링크를 첨부할 수 있습니다.
Are you using CanvasGroup
alpha?
Then you need to enable CanvasGroup Compatible
at the Spine/Skeleton Graphic
Material parameters. You might need to either create a copy of SkeletonGraphicDefault
or modify the original SkeletonGraphicDefault
asset. Beware that modifying the original SkeletonGraphicDefault
asset might affect all other SkeletonGraphic
objects.
If this does not resolve your problem, could you please send us a minimal Unity project as a zip package that still shows the problem? You can send it to contact@esotericsoftware.com, or attach a link to a forum posting.
방금 여기에서 `CanvasGroup` 알파를 사용하지 않을 가능성이 높다는 것을 알았습니다. `SkeletonGraphic` Inspector 설정, 특히 `Advanced` 섹션의 스크린샷을 공유해 주시겠습니까?
---
I just noticed that you are most likely not using `CanvasGroup` alpha here. Could you please share a screenshot of the `SkeletonGraphic` Inspector settings, especially the `Advanced` section?
현재 문제가 발생하는 SkeletonGraphic의 Advanced 설정입니다.
또한 CanvasGroup Compatible을 활성화하고 있는 상태입니다.
사이트에 gif가 올라가지 않아 링크를 제공합니다.
왼쪽이 SkeletonGraphic, 오른쪽이 SkeletonAnimation입니다.
여전히 문제를 보여주는 zip 패키지로 최소한의 Unity 프로젝트를 보내주시겠습니까? contact@esotericsoftware.com으로 보내거나 포럼 게시물에 대한 링크를 첨부할 수 있습니다.
Could you please send us a minimal Unity project as a zip package that still shows the problem? You can send it to contact@esotericsoftware.com, or attach a link to a forum posting.
해당 메일로 패키지 첨부하여 보내드렸습니다.
확인 부탁드립니다.
재생산 패키지를 보내주셔서 감사합니다. 앞으로 프로젝트에서 불필요한 부분을 제거하십시오. 프로젝트에 15개의 불필요한 타사 에셋 패키지와 zip 패키지를 패키징하기 전에 모두 삭제되었을 수 있는 Library
및 .vs
디렉토리를 포함했습니다.
귀하의 문제에 관하여:
제공된 Material
자산 SkeletonGraphicDefault
의 셰이더를 올바른 셰이더 Spine/SkeletonGraphic
에서 Universal Render Pipeline/Spine/Skeleton
으로 변경했습니다. 다시 작동하도록 다시 변경하십시오.
CanvasRenderer
셰이더를 URP 셰이더로 변경하면 안 됩니다. URP 파이프라인은 Canvas
와 함께 사용되지 않으며 URP 셰이더 사용은 올바르지 않습니다.
Thanks for sending the reproduction package. For the future, please remove any unnecessary parts from the project. You have included 15 unnecessary thirdparty Asset packages in the project, and also the Library
and .vs
directories which all could have been deleted before packing the zip package.
Regarding your problem:
You have changed the shader at the provided Material
asset SkeletonGraphicDefault
from the correct shader Spine/SkeletonGraphic
to Universal Render Pipeline/Spine/Skeleton
. Change it back to make it work again.
You shall not change any CanvasRenderer
shaders to URP shaders, URP pipeline is not used with Canvas
and using URP shaders is incorrect.
제가 전달한 boyscene의 Canvas안에 있는 SkeletonGraphic (spineboy-ess_alpha)의 알파값 이슈입니다.
현재 SkeletonGraphic (spineboy-ess_alpha)의 메테리얼은 Universal Render Pipeline/Spine/Skeleton을 사용중입니다.
다시 한번 확인 부탁드립니다.
첨부된 spineboy의 오른쪽이 현재 문제 있는 SkeletonGraphic (spineboy-ess_alpha)며 Universal Render Pipeline/Spine/Skeleton을 사용중입니다
기계 번역이 명확하지 않았을 수 있습니다. 죄송합니다. 나는 반복하려고 :
SkeletonGraphic
에서 Universal Render Pipeline/*
셰이더를 사용하지 마십시오.
'SkeletonGraphic'은 'CanvasRenderer'를 사용합니다. 모든 CanvasRenderer
에서 Universal Render Pipeline/*
셰이더를 사용해서는 안 됩니다. 대신 URP 셰이더가 아닌 'CanvasRenderer' 호환 셰이더를 항상 사용해야 합니다. 따라서 프로젝트에서 URP를 렌더 파이프라인으로 사용할 때도 Spine/SkeletonGraphic
셰이더를 대신 사용하십시오.
Maybe machine translation was not very clear, sorry about that. I try to repeat:
Do not use Universal Render Pipeline/*
shaders on SkeletonGraphic
.
SkeletonGraphic
uses a CanvasRenderer
. You should not use Universal Render Pipeline/*
shaders at any CanvasRenderer
. Instead you should always use CanvasRenderer
compatible shaders, which URP shaders are not. So please use the Spine/SkeletonGraphic
shader instead, also when using URP as a render pipeline in your project.
https://imgur.com/a/auYQRhf
요청하신대로 Spine/SkeletonGraphic를 사용하였으나 위 링크의 오른쪽 SpineBoy처럼 똑같은 이슈가 발생합니다.
혹시 저희가 전달한 프로젝트를 토대로 Canvas 하위에 있는 SpineBoy의 알파값이 정상적으로 출력되도록 수정 후 저희에게 전달 가능할까요?
그게 가장 빨라보입니다.
mousick schrieb요청하신대로 Spine/SkeletonGraphic를 사용하였으나 위 링크의 오른쪽 SpineBoy처럼 똑같은 이슈가 발생합니다.
제가 잘 이해하지 못하는 것 같아 두렵습니다. 오른쪽 이미지는 'SkeletonGraphic-Canvas'라고 되어 있습니다. SkeletonGraphic
에서는 Spine/SkeletonGraphic*
셰이더만 사용해야 합니다. 이미지 제목의 이름을 잘못 지정했습니까, 아니면 왼쪽 이미지를 의미합니까?
I'm afraid I don't quite understand. The image on the right says SkeletonGraphic-Canvas
. With SkeletonGraphic
you should use only Spine/SkeletonGraphic*
shaders. Did you name the image heading incorrectly, or do you mean the left image?