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
Puck Loves Games
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.
Great 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?
Puck Loves Games
Thanks! 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.
Thank you for this cool mat!!! How can I remake a shader to work with LWRP? Thank you!