Unity에서 Spine이미지를 Texture2D에 렌더링 해서 PNG로 내보냈는데, BlendMode.Additive로 설정된 슬롯들은 PNG에서 보여지지 않습니다. PNG의 배경이 투명하고, BlendMode.Additive도 Normal로 변경하지 않는다는 조건으로 슬롯을 PNG에서 보여지게 할 수 있습니까?
BlendMode.Additive로 된 슬롯을 PNG에서 보여지게 하고 싶습니다
ParkMinSeok I don't fully understand what you are trying to do, but at least I think that it is impossible to do additive blending on a transparent background, because adding colors to a transparent color results in a color that is still transparent.
If you could describe why you want to do this, we might be able to offer some ideas for alternatives.
Misaki Additive Blending로 이루어진 화려한 효과나 빛 표현을 PNG에서도 나타나게 하고 싶어서 입니다. Normal Mode로 변경하면 Additive Blending처럼 화려한 효과나 빛 표현을 PNG에서 나타낼 수 없기 때문입니다
ParkMinSeok I see, so I think you should export the PNG image once with a black opaque background and later extract the black areas of the image using Photoshop or a similar image editor. You may find the following thread helpful:
https://esotericsoftware.com/forum/d/25637-%E6%88%91%E5%9C%A8web%E9%A1%B5%E9%9D%A2%E5%B1%95%E7%A4%BAspine%E5%8A%A8%E7%94%BB%E4%BC%9A%E5%87%BA%E7%8E%B0%E5%A5%87%E6%80%AA%E7%9A%84%E9%BB%91%E5%9D%97%E8%BF%99%E6%98%AF%E6%9C%AC%E6%9D%A5%E6%B2%A1%E6%9C%89%E7%9A%84%E4%B8%9C%E8%A5%BF%E5%A6%82%E5%9B%BE/11
답변은 잘 받았습니다. 그러나 검은색 배경에서 알파가 100보다 낮은 Additive Blending을 로드하고 이미지의 검은 부분을 추출하게 되면 해당 알파값이랑 검은색이 섞여서 이팩트가 어두운 색깔로 나오게 되고, 프로그램의 한계로 검은 부분도 전부 지워지지 않는데, 투명 배경에서 온전한 이팩트 효과를 PNG로 내보내는 방법은 없는건가요?
ParkMinSeok Additive images that blend with background colors are the expected result. The PNG format does not know how the color of that pixel was determined. So it simply reflects the result of the blend in the pixel. I am afraid, but there is nothing we can do about this, because this is a general rule that has nothing to do with the use or non-use of Spine.
안타깝지만 PNG로 출력하실 땐 그런 식으로 설정이 불가능합니다.
마치 포토샵에서 Additive로 설정한 레이어가 있다고 하더라도 이걸 PNG 출력해버리면
적용 안 되고 다 날아가듯이요...
스파인의 한계라기보단 PNG로 출력한다는 것 자체가 그런 의미를 가집니다.