Also a .webm
I've been working on adding the
glowing textures and flashes from Doom 64. This is the last Doom 64 graphical feature that GZDoom lacks before it is truly capable of emulating the look and feel of Doom 64.
I already have a rough draft of this feature as a
pull request on GitHub, but I'd like to get people's thoughts on how I designed this feature before I squash my commit history and get it added to GZDoom for good.
My pull request adds the following UDMF properties for sectors:
Code: Select all
coloradd_floor = <int>; // Additive material color applied to the sector floor. Default is black (0x000000)
coloradd_ceiling = <int>; // Additive material color applied to the sector ceiling. Default is black (0x000000)
coloradd_sprites = <int>; // Additive material color applied to sprites within the sector. Default is black (0x000000)
coloradd_walls = <int>; // Additive material color applied to walls within the sector. Default is black (0x000000)
And the following properties for sidedefs:
Code: Select all
useowncoloradd_top = <bool>; // Whether or not to use the given additive color for the top section of the sidedef.
coloradd_top = <int>; // Additive material color to apply to top section of sidedef. Default is black (0x000000)
useowncoloradd_mid = <bool>; // Whether or not to use the given additive color for the middle section of the sidedef.
coloradd_mid = <int>; // Additive material color to apply to middle section of sidedef. Default is black (0x000000)
useowncoloradd_bottom = <bool>; // Whether or not to use the given additive color for the bottom section of the sidedef.
coloradd_bottom = <int>; // Additive material color to apply to bottom section of sidedef. Default is black (0x000000)
I used to have it set up so that one UDMF property "color_add" would set the values for all additive colours within a sector. I'm now re-considering adding it as a shortcut to setting the other coloradd properties for a sector.