"Stencil" with StencilColor only tints +WALLSPRITEs

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderators: Developers, ZDoom.org Team

Forum rules
Please, if you can include a wad demonstrating the problem, do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

"Stencil" with StencilColor only tints +WALLSPRITEs

Postby Caligari87 » Sat Aug 12, 2017 10:38 pm

Code example:
Code: Select allExpand view
class Zombieman_Trainer : Zombieman replaces Zombieman {
   default {
      RenderStyle "Stencil";
      StencilColor "ff 00 00";
   states {
      POSS A 1;

With the above code, the actor is only tinted the desired color: (ignore artifact, its my screenshot program being dumb)

If the "+WALLSPRITE" line is commented out, the actor shows the renderstyle appropriately:

If "StencilColor" is commented out, the wallsprite appropriately shows a black stencil:

Other renderstyles tested (including Shadow and AddStencil) appear to be working as intended.

User avatar
I'm just here for the community
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests