adding shader code for environment mapping, not sure if correct