Unity Shader Fire
Fire Shader for Unity
Overview
Utilizing a couple of custom textures I was able to create a pseudo random animation pattern that embodies the feel and look of fire.
So many values
This shader allows for modification of key values that affect the way core principles interact with each other to produce the varied outcome. These values include tilting and offset adjustment of the core textures, colors for the various flame parts, speed and size of the flames, soft or hard containment due to a texture, and shifting along the axis for parts of the flame. Basic development overview, like for most shaders, is to utilize various parts of the color spectrum to leverage individual aspects of the textures to react accordingly, and to animate in various ways determined by the number of variables.
Possibilities of My Fire Shader
With multiple variables being available to adjust and tweak, it allows the shader to take on various forms, and just how fire, or combustion, can vary from situation to situation, so too can this shader. Here are some possibilities of what a shader can look like.