background

Some information on background should go here

background.constant

Set the scene background to a constant color. Any ray that fails to strike an object will be set to the background color.

   <background type="constant" name="name">
       <color r="128" g="128" b="128" />
   </background> 

color: rgb
The background color setting.


background.sunsky

Creates a simulated sky background, along with an optional sun. This feature does NOT add shadows to your scene, it is only a background feature.

Note that I have been unsuccessful in getting the "sun" object to appear properly. Turbidity and power seem to have zero effect on the scene.

	<background type="sunsky" name="backg" turbidity="4" add_sun="yes" sun_power="4">
		<from x="5" y="5" z="2" />
	</background>

turbidity:
Turbidity controls atmosphere density. 4 is an almost clear sky. The turbidity parameter affects how light is scattered in the atmosphere, you should see it as sort of controlling the density of particles in the atmosphere. The higher the number, the more particles.

add_sun: yes|no
Places a sun in from parameter's position
from: xyz
Location of the sun
sun_power:
How strong the sun is.