Page 1 of 1

[SOLVED] Shaded renderstyle + color?

Posted: Tue Jul 18, 2017 4:38 am
by Jekyll Grim Payne
Wiki specifies that Shaded renderstyle for sprites is "how decals are drawn". However, decals can be tinted to have specific color. Can shaded sprites have color?

Re: Shaded renderstyle + color?

Posted: Tue Jul 18, 2017 8:31 pm
by TheCamaleonMaligno
Yes, you just need to specify the StencilColor property to the actor

Code: Select all

Actor BurnSmoke
{
	RenderStyle "Shaded"
	StencilColor "2F 2F 2F"
	States
	{
	Spawn:
		SMOK A 1 etc...
	}
}

Re: Shaded renderstyle + color?

Posted: Wed Jul 19, 2017 12:56 am
by Jekyll Grim Payne
TheCamaleonMaligno wrote:Yes, you just need to specify the StencilColor property to the actor
Cool, I thought this property only worked with Stencil renderstyle. I'll update the wiki page then. Thanks!