A_Overlay Blending Modes + Masking

Moderator: GZDoom Developers

Post Reply
User avatar
torridgristle
Posts: 684
Joined: Fri Aug 23, 2013 9:34 am

A_Overlay Blending Modes + Masking

Post by torridgristle »

It'd be nice if A_Overlay could be used to add a warping energy texture, like Quake's Quad Damage, but in order to do so it would need to have blending modes, like additive, and masking so that a full-screen warping animation can be made and then set to only show up on the underlying layer, like a clipping mask in Photoshop.

An option to use either the layer immediately underneath it or all layers underneath it for a mask would be useful. For example you could have a sprite with a computer screen on it, A_Overlay a new layer on top of it that is just the screen, and then A_Overlay an additive layer with a scrolling VHS tracking lines texture that uses only the screen layer for a mask so that the VHS texture only appears on the screen and not the whole gun.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: A_Overlay Blending Modes + Masking

Post by NeuralStunner »

... Or even have additive-blended gunflashes, which has been a modder's dream for 6+ years. ;)
User avatar
Major Cooke
Posts: 8215
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: A_Overlay Blending Modes + Masking

Post by Major Cooke »

The only thing you can really do right now is have PNGs with translucency unfortunately. A_Overlays won't be able to fix this.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”