Firefox 3D oddity
Firefox 3D oddity
The pyramid.bbc example program runs properly in Chrome, Edge and Opera, but in Firefox only the square base renders: the four triangular faces of the pyramid itself are invisible! I haven't the foggiest idea why, but if somebody fancies a challenge (and a learning opportunity) I would welcome any suggestions.
Re: Firefox 3D oddity
It seems that Firefox, unlike the other browsers, doesn't like the shader referencing texture coordinates when there aren't any (the base of the pyramid is textured, the sides aren't) so when it tried and failed to access the texture coordinates of the sides it refused to draw them! A workaround is always to provide dummy texture coordinates, but whilst this is effective it is wasteful of memory. I'll go with that unless a better solution presents itself.