Home Galleries Shader galleries Materials gallery 

Basic Flame material

A constant material where the density value of the volume drives the colour ramp.

This material is a constant shader. The density value is used as a lookup into the list of colours or the texture map. This value does not determine the opacity of the smoke. No lighting is needed with this material. It is treated as an emitter, so there is no self-shadowing.

Parameters

Values between the two have a density of Flame Density. (If it is

a shadow pass, they have a density of shadow density)

The colour is a function of the value - the three low, mid, and

high colours are blended together to create a ramp that is used.

Low Value

If the density is less than this value, the smoke is transparent.

Low Color

If the density is less or equal to the low value, this colour is used. Defaults to orange.

Mid Value

This si the midpoint of the colour and transparency ramps.

Mid Color

If the density equals the mid value, this colour is used. Otherwise the colour is a blended ramp towards either the high or low colours. Defaults to yellow.

High Value

If the density is higher than the high value, it is clamped to the high value. The exception is if Hollow Interior is on in which case it returns to transparent.

High Color

If the density is higher or equal to the high value, this colour is used. Defaults to white.

Texture Map

If a texturemap is specified, that map is used as the colour ramp and fit between the low and high values. If the texture map has an alpha component that value is used as the opacity of the flames.

Flame Density

Values between the two have a density of Flame Density.

Shadow Density

This is density used for the shadow pass.

Hollow Interior

If this toggle is on, the opacity returns to transparent, rather than staying at the high value.