[SOLVED] Shaded renderstyle + color?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Jekyll Grim Payne
Global Moderator
Posts: 1117
Joined: Mon Jul 21, 2008 4:08 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia (Modern GZDoom)
Contact:

[SOLVED] Shaded renderstyle + color?

Post 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?
Last edited by Jekyll Grim Payne on Wed Jul 19, 2017 12:56 am, edited 1 time in total.
User avatar
TheCamaleonMaligno
Posts: 85
Joined: Sun Jun 28, 2015 3:25 pm
Location: Frozen igloo, IN MIDDLE OF THE DESERT!!
Contact:

Re: Shaded renderstyle + color?

Post 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...
	}
}
User avatar
Jekyll Grim Payne
Global Moderator
Posts: 1117
Joined: Mon Jul 21, 2008 4:08 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia (Modern GZDoom)
Contact:

Re: Shaded renderstyle + color?

Post 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!
Locked

Return to “Editing (Archive)”