I am using a Texture to offset Vertex Positions in a Vertex Fragment program. After much pulling out of hair, I learned the hard way that the first texture sampled in the Pixel Fragment Shader overrides/replaces the Texture Sampled in the Vertex Fragment Program!
Say I got two Textures, Diffuse and Offset.
In the VP, I lookup the Offset Texture and move the position.
IN the FP, I lookup the Diffuse color and render the object.
In Maya, the Diffuse Map is used both for Offset and Color!
If i go back to the FP, access the Offset map before the Diffuse map, then it works as expected!
Has anyone else come across this before? Is this a known issue? A limitation? A bug?