- Home /
Is it possible to align the cubemap axes with the camera?
Hi, I'm currently working on a project with 3D insects in it, and I need to make a material that recreates the way mantis or damselfly eyes behave, especially the black spot in the middle, as shown here at 0:38.
For that I used the default Reflective/Bumped Specular material and added a simple cubemap with a black spot, which works really great. But the thing is, you can only see the effect when you're moving the object, which won't happen in my project, since I only move the camera.
So here's my question, is it possible to align the cubemap with the camera and make it follow it? And if so, how do I do it?
I haven't really messed with shaders yet, so maybe I just need to know some line of code or something.
(I've already posted this question on stackoverflow but didn't get any good answer)