
shadowMapType
- Returns the Buffer Type being used for the shadow map
- integer
- 0 = Simple Buffer Type
- 1 = Variance Buffer Type
Shadows work with Spot and Sun lamps
- Properties menu >> Object Data >> Shadow checkbox
- Properties menu >> Object Data >> Shadow >> Buffer Type

Sample Code
################## get the shadow map buffer type
# import bge
import bge
# get current scene
scene = bge.logic.getCurrentScene()
# get a list of the lights in the scene
lightList = scene.lights
# get the spotlight named Spot_Light
light = lightList["Spot_Light"]
# get shadow map buffer type
shadow_Buffer = light.shadowMapType