[No] Render Style Mapping

Moderator: GZDoom Developers

Render Style Mapping

Postby Kazudra » Thu Nov 04, 2021 10:19 pm

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.
Kazudra
 
Joined: 25 May 2015

Re: Render Style Mapping

Postby phantombeta » Thu Nov 04, 2021 11:00 pm

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.
User avatar
phantombeta
Tired of being treated like trash by control freaks
 
Joined: 02 May 2013

Re: Render Style Mapping

Postby Graf Zahl » Fri Nov 05, 2021 12:37 am

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 :(
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests