Doubt about effects with black background - Sprites

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

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.
Post Reply
User avatar
Niphura
Posts: 192
Joined: Fri Jun 16, 2017 3:07 pm
Location: Argentina

Doubt about effects with black background - Sprites

Post by Niphura »

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
User avatar
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

Post by Pixel Eater »

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.
Flame0.gif
Flame0.gif (119.73 KiB) Viewed 661 times
User avatar
Apeirogon
Posts: 1605
Joined: Mon Jun 12, 2017 12:57 am

Re: Doubt about effects with black background - Sprites

Post by Apeirogon »

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
User avatar
Niphura
Posts: 192
Joined: Fri Jun 16, 2017 3:07 pm
Location: Argentina

Re: Doubt about effects with black background - Sprites

Post by Niphura »

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
Thank you very much!
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Doubt about effects with black background - Sprites

Post by Graf Zahl »

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.
User avatar
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

Post by Pixel Eater »

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 :twisted:
It also respects the menu's translucency preferences:
Off.jpg
On.jpg
There's a little setup involved:
Spoiler:
Attachments
ArchyFlame.pk3
(121.98 KiB) Downloaded 78 times
Post Reply

Return to “Assets (and other stuff)”