I'd like to use Pov-Ray to generate pictures that can be used in a website on any background color. The pictures need to have a transparent background, but with reflection and shadows cast on a transparent plane surface.
In Pov-Ray (3.7), you can set the background transparent by setting Output_Alpha=True in the povray.ini file and outputting as a png file.
You can even get transparent reflective surfaces by using the color Clear on a plane (or any other object). But if you set the color of an object to Clear, no shadows are cast on it.
Is it possible to cast shadows on transparent objects?
You could render the shadows and objects separately and merge the resulting images as shown here.