Matrix Composition Prebaked Ribs St Coloration Pattern Animation Fire Grass Home
Fire Shader Creation  
   
Shader Creation Process  
normal nf = faceforward ( normalize(N), I);
vector i = normalize (-I);
float dot = nf . i;

color dotColor = 1 - dot;
color ramp2 = smoothstep (flameBegin , flameEnd ,s);
color mixColor = mix ( ramp2 , dotColor , s ) ;

color surfcolor = spline ( s, col [0], col [0], col [0], col [1],col [1], col [2],col [2],col [2]);
Oi
= mixColor + (s * s * s * s)/2;

Click here to see the Full Shader language.

-