Converted this fire effect (by The Coding Train) into unity customrendertexture + shader.
Added fire gradient color (by moving the fire calculation into alpha channel).
Unity Project Sources
https://github.com/unitycoder/FireEffect
References
- CustomRenderTexture (was added to unity in 2017.1) https://docs.unity3d.com/Manual/CustomRenderTextures.html
- Keijiros example project (reaction-diffusion) https://github.com/keijiro/RDSystem
- Fire Effect algorithm https://web.archive.org/web/20160418004150/http://freespace.virgin.net/hugo.elias/models/m_fire.htm
- The Coding Train fire effect tutorial http://thecodingtrain.com/CodingChallenges/103-fire-effect.html