Help Contents / Graphics / Shadows / enableShadows

enableShadows

command to set the internal flag to enable shadow creating. It must be set before you draw graphics,  if you want to see any shadows. 

Additionally you must either call the primitive castShadows maybe followed by updateGraph, or redraw to produce the shadows. 

Example: 

	cs perspective WindowMode 
	enableShadows 
	Sphere 100 
	setPenColor "green 
	back 1000 sphere 800 
	castShadows 


next: disableShadows
