Alright I'm having some issues with getting Vertex Painting and Cubemaps to work together.
In the image below I've setup a material to simply add the the Cubemap together with the Diffuse, while controlling it based of the red channel of the Red vertex color.
This doesn't work, it doesn't seem to acknowledge the Vertex Color at all. No matter where I paint, the Cubemap is always present.
I found this thread from awhile back, and I tried to setup a material exactly like he has. But this gives me an error when I try to attach the Mask and Camera Vector.
So what exactly am I doing wrong here?
I have other materials already made that work just fine with Vertex Painting, but as soon as I add a Cubemap into the mix, everything just screws up horribly.
Replies
Currently there's a limitation with using the vertex color node with a transform node, you basically won't get any vertex colors.
Shader 2:
An actual cubemap lookup needs three components (X,Y and Z), your mask is only passing the red and green channel. In the case above you can either plug a normal 2d texture into the texture sample or plug the camera vector straight into the texture sample. Because you can't use a transform node combined with a vertex color, you won't be able to get a true cubemap lookup as far as I know.