In the question below Jon tried to help me make a shader for glassy objects that will cast colored shadows. http://gamedev.stackexchange.com/questions/98162/how-to-cast-colored-shadows/98166 The explanation was very good, but due to inexperience with casting shadows I couldn't implement it. Could someone help me implement this shader, or at least point me to some relevant examples?