how to make a Sky Dome

Started by Charles, May 31, 2013, 03:52:56 PM

Previous topic - Next topic

Charles

I am wondering how make a sky dome.I tried to make a sphere or box to surround the whole scene.But the textured can't be seen from inside the surrounding ball or box.How to resolve it?

EgonOlsen

#1
That's caused by the backface culling. Either do setCulling(false); or call invert() on the object before calling build(), if you need proper normals.

Charles