I'm working on trying to simulate light passing through stained glass. I currently have an image I wish to apply to a polyPlane (window) that will act as the stained glass. I'm trying to create the effect of the light passing through the window and casting the various colors from the image onto the floors, walls, and other objects in its path.
Since I'm working with mental ray, and am familiar with mia_material_x, I'm hoping to be able to use this type of shader. I've also been trying out caustics with some success.
My question is this: Is there anyone who may be able to suggest the best way of constructing the shader for the stained glass using mia_material_x? Maybe some suggestions on where to put the image file, bump map, etc? I"m including an image of where I'm at.
Thanks for any help/suggestions you can give me!