mib_light_spot

 
 
 

Category: mental ray > Light

Shader Family: Light

Output: Color

The spot light is similar to the point light, except that it also supports angle attenuation based on the light direction. It takes the light direction and the spread (the cosine of the outer boundary angle) from the light definition.

Name

The name of the shader node displayed in the render tree. Enter any name you like, or leave the default.

color

The light color.

shadow

When on, enables shadows. The light will be diminished or blocked by occluding objects between the light and the illuminated object.

factor

Only has an effect if shadows are enabled. Blends from the shadow color (0, the default) to the light color. Values greater than 0 let the light penetrate occluding objects. At 1, no shadows appear.

atten

When on, enables distance attenuation such that the light intensity begins to fall off at the distance start and fades to the distance stop, where no light remains.

start

Only has an effect if distance attenuation is enabled. It specifies the distance from the light where attenuation begins.

stop

Only has an effect if distance attenuation is enabled. It specifies the maximum distance reached by the light.

cone

Specifies the cosine of the angle of the inner cone that illuminates with full intensity (degrees). The value must be in the range 0 (hemisphere) to 1 (null diameter). The cone cannot exceed the spread angle from the light definition.