improved shadows in shaders