Is it possible to rip and use this effect as sprites? or the black background will appear in game?
https://www.youtube.com/watch?v=USnASJ1 ... jkotserver
Doubt about effects with black background - Sprites
Moderators: GZDoom Developers, Raze Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
- Pixel Eater
-
- Posts: 667
- Joined: Wed Aug 02, 2017 12:31 am
- Location: In between the Moon and you, between the buried and me.
Re: Doubt about effects with black background - Sprites
Here's a test against a random coloured background. This was done in Photoshop, but I'm writing a shader for GZDoom that will do this automatically.
Re: Doubt about effects with black background - Sprites
Download video using flashgot and mozilla 56 - using ffmpeg split video to frames - using magick of photoshop/paint remove black background - slade - import - decorate.
Or, you can download it already divided to pictures. You ony left to chose what you like.
https://drive.google.com/open?id=1Io696 ... -NcHpG7MaZ
Or, you can download it already divided to pictures. You ony left to chose what you like.
https://drive.google.com/open?id=1Io696 ... -NcHpG7MaZ
Re: Doubt about effects with black background - Sprites
Thank you very much!Apeirogon wrote:Download video using flashgot and mozilla 56 - using ffmpeg split video to frames - using magick of photoshop/paint remove black background - slade - import - decorate.
Or, you can download it already divided to pictures. You ony left to chose what you like.
https://drive.google.com/open?id=1Io696 ... -NcHpG7MaZ
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49071
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Doubt about effects with black background - Sprites
Niphura wrote:Is it possible to rip and use this effect as sprites? or the black background will appear in game?
It depends on how you do it. Once you render such a thing in a mode where colors get inverted the black will turn into white. This can happen with some items when using the enhanced nightvision effect of the GL renderer.
- Pixel Eater
-
- Posts: 667
- Joined: Wed Aug 02, 2017 12:31 am
- Location: In between the Moon and you, between the buried and me.
Re: Doubt about effects with black background - Sprites
I've used your example flame sprites in a test for my translucency shader. It's set to replace the Archvile's fire frames. It will turn blacks progressively translucent but preserves the opacity of more saturated colours AND you won't have to do Photoshop editing to remove the black background
It also respects the menu's translucency preferences: There's a little setup involved:
It also respects the menu's translucency preferences: There's a little setup involved:
Spoiler:
- Attachments
-
- ArchyFlame.pk3
- (121.98 KiB) Downloaded 78 times