Ok, this one has me stumped. I'm working on a project that applies two textures (using the extensions) to some terrain. Now, I have a specular lighting component that works fine when there are no textures being applied or when only my spheremapped texture is being applied. However, when I add a second (fixed) texture to the surface, I can no longer see my specular lighting.
It's actually even weirder than that. If I rotate the entire thing around, there are some angles where I CAN see the specular light shining through the second texture (it is a different color and I am using SEPARATE_SPECULAR_COLOR so it is really apparent). Toggling this texture on and off confirms that it shows specularity in a different orientation than my geometry does. Any ideas at all about what could be causing this?
Thanks,
Zeno



It led me to find the bug.