Real Time Shadows: Blender 3D Game Engine

 


  
3.  Draw Type:  Textured

3D View menu >> Viewport Shading box
Draw Type: Textured


  
4.  Add a Spotlight

User Preferences menu >> Add >> Lamp >> Spot
or
Spacebar >> Add >> Lamp >> Spot


  
5.  Enable Buf.Shadow button

Buttons Window menu >> Shading (F5) >> Lamp buttons
Shadow and Spot tab
Buf.Shadow button

  
6.  Set Shadow Buffer Size

Note:
A large shadow buffer can overload a video card's frame buffer.  
If this happens, you won't see any real time shadows.  If you are really unlucky, it will crash Blender 3D.

Buttons Window menu >> Shading (F5) >> Lamp buttons
Shadow and Spot tab
Shadow Buffer Size:
Range:
512 to 10240

 
  
   
The Blender 3D and game engine tutorials were created as a series of step by step instructions and help you create computer games. Use the tutorials to make casual video games, First Person Shooter games, role playing games, racing simulation games and more. Use the tutorials as a self paced learning tool to model and program your own three-dimensional world and then play on your computer.