This is a basic caustics setup with cycles.
You can use transparent color inside the object materials to
reduce the cast shadow, to make caustic more visible ...
spectrum effect is kind of fake and noisy, but works ;)
mesh is from: "Extra Objects" & "Regular Solids" addon, see "Add Mesh" addons