vrdShadowMap

class vrdShadowMap

(Inherits vrdSceneObject)

This class represents a shadow map used in OpenGL rendering.

Functions

vrdShadowMap.getFilterRadius()

Returns the radius used for shadow map filtering.

Returns:The radius for shadow map filtering.
Return type:float
vrdShadowMap.getResolution()

Returns the resolution of the shadow map.

Returns:The resolution of the shadow map.
Return type:integer
vrdShadowMap.setFilterRadius(radius)

Sets the radius for shadow map filtering.

Parameters:radius (float) – The radius for shadow map filtering
vrdShadowMap.setResolution(resolution)

Sets the resolution of the shadow map.

Parameters:resolution (integer) – The resolution of the shadow map.