Think Brightmaps, except you change the render style with the given monochrome image.
Let's take the Baron's hand flames and make them "add", you can do it as easy as that or You can take the Spectre's death sprites to make it's innards opaque.
I don't even know if it's possible, but if it is quite frankly it's down-right revolutionary.
Render Style Mapping
Moderator: GZDoom Developers
-
- Posts: 2051
- Joined: Thu May 02, 2013 1:27 am
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: Brazil
Re: Render Style Mapping
This is simply not possible with how blending is done on GPUs. You can't set a blending mode per-pixel, it has to be done for the whole drawcall.
-
- Lead GZDoom+Raze Developer
- Posts: 48666
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Render Style Mapping
For that particular reason fog on subtractively rendered sprites needs to be done as a second pass. It's really annoying that this final part of the render pipeline still isn't accessible to shaders 
