Alright, I’ve been working with the shaders here for a month or so, and I’ve hit some kind of roadblock. I’ve got a shader based on the Toon Shader that lights a static environment. I’ve written a new version of it to use UV 2 for an alpha mask, but every time I try to play the game it breaks the cubemap. Any idea what’s going on here?
Included two test cases. When Its working, it uses the cubemap to shade the surface. When its not, it appears to shade the whole thing by 1.0, hence making it flat all the way across curved surfaces.
That last screen shows how the surface appears unshaded across all angles. Is this possibly a problem with the shader trying to shader the back side of the object or something? So far, we’ve not seen this problem occur on anything else using our cubemaps. Perhaps its specific to the cubemap?