On my side, it looks like an opengl driver issue, since the application
crashes. I don't see any problem with the textures, but I guess the
shader using texture access inside a conditional block is not a very
good idea. We should probably not use the same shader for the planet
and the ring, or at least make it work without conditionals.
If you want I can apply the quick fix I mentioned (binding the ringS
samper to the ring texure before rendering the ring). It seems to work
on my mac book air, though I am not sure about other machines.
<email address hidden>
On my side, it looks like an opengl driver issue, since the application
crashes. I don't see any problem with the textures, but I guess the
shader using texture access inside a conditional block is not a very
good idea. We should probably not use the same shader for the planet
and the ring, or at least make it work without conditionals.
If you want I can apply the quick fix I mentioned (binding the ringS
samper to the ring texure before rendering the ring). It seems to work
on my mac book air, though I am not sure about other machines.