Animated Candle Flame Source Files
Added 2018-08-29 04:55:51 +0000 UTC
Here are the source files for the Animated Candle Flame shader.
There is the adjustable 3 colour Candle Flame shader, as well as an optimised version that just uses a standard texture.
I've also included the SSS shader for the candle, as well as a more optimised version that doesn't require a point light and fakes SSS lighting by adding in pre-baked vertex colours on the candle mesh.
Comments
Thank you. Yes this shader will work in URP with some tweaks - you'll want to use a Universal/Unlit shader, not PBR, and make sure it's Transparent, with an additive blending mode.
Puck Loves Games
2022-02-04 10:37:51 +0000 UTCGreat tutorial! One question? I added this to a URP project and get the shader working but the quad is not being rendered as transparent. I selected URP -> PBR, does this work in URP?
2022-02-04 08:33:38 +0000 UTCThanks! I'll be looking into using Shader Graph eventually and convert a bunch of these over to the scriptable render pipelines, but I'm not sure if that will be any time soon sorry. I still don't believe the new pipelines are fully production ready yet.
Puck Loves Games
2020-03-17 00:18:29 +0000 UTC