The SpotLight Node


This node creates a spot light at half-intensity at location (0, 0, 120), shooting into the screen (the -z direction). Its color can also be specified; here it is white.

View the world.

#VRML V1.0 ascii

Separator {
        
 ....
        SpotLight {
                on              TRUE
                intensity       .5
                color           1 1 1
                location        0 0 120         
                direction       0 0 -1
        } #SpotLight    

 } #Separator    


Examples

Bird

Gun

Arbre

 


Texture.