May
26
2018
26
2018
Fire Effect Using CustomRenderTexture
An article by mgear
2 Comments
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
Related Posts
2 Comments + Add Comment
Leave a comment to mgear
Recent posts
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- [Asset Store] Mobile Paint *now free on
- Scorched Earth Terrain (wip) on
- UI Text TypeWriter Effect [Script] on
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
@unitycoder_com
My TweetsSubscribe to Blog via Email
Tag Cloud
2d
3D
AI
algorithm
android
asset
build
color
custom
demo
editor
effect
error
fake
free
game
generator
greasemonkey
indie
javascript
light
line
ludumdare
mesh
paint
particles
physics
plugin
proto
prototype
script
sea
shader
shadow
sprite
terrain
texture
tutorial
ui
unity
vertex
visibility
water
waves
webgl
Nice article, keep going with your great posts 🙂
similar fire effect using normal shaders with shadergraph
https://effect-lab.hatenablog.com/entry/unity-shader-graph-jisen-fire01