How to do this: Render shadow on transparent background with Blender Render from script? I need to set a transparent background color before render a mesh.
1 Answer
$\begingroup$
$\endgroup$
When you hover over a property, you can see its Python property.
Here, it is simply :
scene.render.alpha_mode = 'SKY' # in ['TRANSPARENT', 'SKY']