Since we're unlikely to get actual shadow-casting, this seems like a reasonable in-between at least for static level lights. Thoughts?Graf Zahl wrote:How about adding a bitmask property to linedefs, sector planes and light things (both map placed and attached to other actors, so that lights get discarded if both bitmasks ANDed together are not 0? That'd give mappers some control over certain parts of the map that get excluded by certain dynamic lights
Bitmask exclude sectors from dynamic lights
Moderator: GZDoom Developers
- Caligari87
- Admin
- Posts: 6174
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
Bitmask exclude sectors from dynamic lights
So I'm not sure if this was ever addressed (I'm not around much), but a little over a year ago, there was a short discussion where Graf mentioned it might be possible to use bitmasking to exclude certain parts of a level from certain dynamic lights. Thread/post in question.
- Zanieon
- Posts: 2059
- Joined: Tue Jan 13, 2009 4:13 pm
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Location: Somewhere in the future
- Contact:
Re: Bitmask exclude sectors from dynamic lights
/\
/\
/\
/\
/\
THIS! Please.
/\
/\
/\
/\
THIS! Please.
Re: Bitmask exclude sectors from dynamic lights
It could be nice too if the inverse could happen too, a floor/ceiling/wall can only be affected only by a single dynamic light
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Bitmask exclude sectors from dynamic lights
Zanieon wrote:THIS! Please.
What?
You want me to implement a cat in ZDoom?
I'm afraid, that's not possible! :twisted:
Re: Bitmask exclude sectors from dynamic lights
Oh no, cat's eyes have failed, you human? D:
- Zanieon
- Posts: 2059
- Joined: Tue Jan 13, 2009 4:13 pm
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Location: Somewhere in the future
- Contact:
Re: Bitmask exclude sectors from dynamic lights
Of course! Why not? A Cat in ZDoom would be very nice, you can die 7 times per single-player match, do high jumps, propel in walls to do parkour and things of the kindGraf Zahl wrote:What?
You want me to implement a cat in ZDoom?
I'm afraid, that's not possible! :twisted:
Re: Bitmask exclude sectors from dynamic lights
MBF helper cats
- Caligari87
- Admin
- Posts: 6174
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
Re: Bitmask exclude sectors from dynamic lights
The fact that Graf commented on this to make a joke about the cat instead of saying "No" gives me hope. And warm fuzzies inside.
Re: Bitmask exclude sectors from dynamic lights
What kind of cats you been livin' with? I hope you kept the receipt on those things, cuz that's about two lives too short.Zanieon wrote:you can die 7 times per single-player match,
Re: Bitmask exclude sectors from dynamic lights
I hope Graf is touching this code so bad ;--;
-
- Posts: 59
- Joined: Sat Apr 12, 2014 11:10 am
Re: Bitmask exclude sectors from dynamic lights
SHADOWS! Please.So I'm not sure if this was ever addressed (I'm not around much), but a little over a year ago, there was a short discussion where Graf mentioned it might be possible to use bitmasking to exclude certain parts of a level from certain dynamic lights.
Oh, I forgot that gzdoom 2.0 is not working anymore.