"the third one is like refraction o_O"
Naw, cause if it was like refraction, then it would look like a lens.
Actually, I'd think you might get that sort of lens effect if you invert the teapot, but it wouldn't work 100% right, and cubic mapping seems to behave funny if the camera is inside an inverted cube with an environment map in certain modes... which seems kind of odd. But maybe that's just how those modes are supposed to behave. I think the chrome mode works right though. But overlapping geometry wouldn't look right which is why I think inverting the teapot won't work right.
Maybe if you actually flipped all the cubic maps around in some way it would look like a lens. Anyone care to make a cubic mapping function like the one in the code above that can do that right? :-)
Naw, cause if it was like refraction, then it would look like a lens.
Actually, I'd think you might get that sort of lens effect if you invert the teapot, but it wouldn't work 100% right, and cubic mapping seems to behave funny if the camera is inside an inverted cube with an environment map in certain modes... which seems kind of odd. But maybe that's just how those modes are supposed to behave. I think the chrome mode works right though. But overlapping geometry wouldn't look right which is why I think inverting the teapot won't work right.
Maybe if you actually flipped all the cubic maps around in some way it would look like a lens. Anyone care to make a cubic mapping function like the one in the code above that can do that right? :-)