I’m trying to stamp out all dependent texture reads in our mobile shaders. For instance, for reflective I’d like to calculate UV coordinates for the reflection in the vertex shader rather than using the normals in the fragment shader (for models without normal maps).
I can see how this would be done using vert and frag programs, but I was wondering if there was a way to do this using surface shaders. If we need to write everything at the vert/fragment level, we can, but I’d much rather leverage the surface shaders if possible.