Trying to fix refraction, kinda backwards
Added shadow attenuation