Forum: Poser - OFFICIAL


Subject: Scripting question. Setting the 'Shadow Blur Radius' for 'RayTrace Shadows'

timarender opened this issue on Aug 14, 2013 ยท 4 posts


timarender posted Wed, 14 August 2013 at 7:20 AM

I wanted to change the 'Shadow Blur Radius' for a Light which uses 'Ray Trace shadows'. But, when I set values for "SetShadowBlurRadius", this only sets the Radius for 'depth map shadows' (and not Ray Trace shadows).

I am sure I must be missing something. Any clues anyone?

import poser
scene = poser.Scene()
m = scene.CreateLight()
actor = scene.CurrentActor()
actor.SetRayTraceShadows(1)
actor.SetShadowBlurRadius(5)