I often have situations when it is necessary to introduce the whole character into translucency. And in this case artifacts arise (see the picture). Is there any way to fix this? And maybe it makes sense to add the alpha change function for the entire skeleton as a whole?
分页： 1 / 1
The problem is that individual attachments of your skeleton overlap. If they are transparent, their (transparent) pixel colors will be added on top of each other, resulting in the issue you see. I don't think there is a clear cut solution to this, but maybe @Erikari has an idea.
- 帖子: 1448
Unfortunately I have no really better input on this transparency matter, unless you're willing to introduce your character with a still image that you fade in, then replace it with the actual skeleton, or have the background actually fade in front of the skeleton, there's no good solution as far as I know.
The two options (have a transparent full version of your character in the skeleton, or render a non-transparent version of your skeleton to an off-screen buffer/texture, then draw that with opacity < 1) are the only two options to solve this problem. It's a fundamental problem when overlaying transparent images on top of each other. There are different blend modes, but they all combine the pixels of overlaying regions.
- 帖子: 1448
Mark topic unread • 分页： 1 / 1