[Fixed] "Stencil" with StencilColor only tints +WALLSPRITEs

Bugs that have been investigated and resolved somehow.

Moderators: Developers, ZDoom.org Team

"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";
      +WALLSPRITE;
   }
   states {
   spawn:
      POSS A 1;
      loop;
   }
}

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.

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

Re: "Stencil" with StencilColor only tints +WALLSPRITEs

Postby Graf Zahl » Sun Aug 27, 2017 2:58 am

fixed
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 2 guests