GLDEFS - "lightselfonly"

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

GLDEFS - "lightselfonly"

Postby Custodian » Sun Nov 21, 2021 11:59 am

Hello! An option I would like to see is a property for GLDEF lights that only illuminate the specific actor that calls them. I imagine the syntax would look something like this:
Code: Select allExpand view
lightselfonly 1

The intended use case for such a feature would be to allow sprites to be illuminated and colored independently from their surroundings. The specific use I have in mind is to apply a glow and color when enemies take damage, similar to Prodeus. I've attempted a number of different approaches for this, most of them involving palette translations, but those are imperfect.

If someone else has found a solution to achieve this effect, I'd be interested to hear it, but a native feature would be my preference.

Thanks
-P
User avatar
Custodian
Beyond Sunset
 
Joined: 29 Jan 2021
Location: Minneapolis MN, USA
Github ID: disasteroftheuniverse
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: GLDEFS - "lightselfonly"

Postby Major Cooke » Wed Dec 01, 2021 5:29 pm

Already coded. You only need wait for it to be merged.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests