Make your own free website on Tripod.com
Shaders in Sunflow

Sunflow Shaders
Diffuse
AO
Glass

Mirror
Phong
Ward
Shiny
-Constant
Janino

Constant

Below is an example of what the constant shader looks like



And what the shader block looks like

shader {
   name shadername
   type constant
   .8 .8 .8
}


Set shader type to constant to use this.

Like with Blender's 'shadeless' option, this shader has no shading, but is a solid colour.

A good use for this shader would be lights. If the colour values are above 1 then it will give off larger amounts of indirect light ( if GI in enabled ).

If you have a sphere surrounding your scene that has a constant shader applied, you can get nice ambient light. ( with GI on )



< Back Next >