[SOLVED] Shaded renderstyle + color?
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.
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.
- 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?
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.
- TheCamaleonMaligno
- Posts: 85
- Joined: Sun Jun 28, 2015 3:25 pm
- Location: Frozen igloo, IN MIDDLE OF THE DESERT!!
- Contact:
Re: Shaded renderstyle + color?
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...
}
}
- 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?
Cool, I thought this property only worked with Stencil renderstyle. I'll update the wiki page then. Thanks!TheCamaleonMaligno wrote:Yes, you just need to specify the StencilColor property to the actor