www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: Charles on May 31, 2013, 03:52:56 pm

Title: how to make a Sky Dome
Post by: Charles on May 31, 2013, 03:52:56 pm
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?
Title: Re: how to make a Sky Dome
Post by: EgonOlsen on May 31, 2013, 05:13:47 pm
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.
Title: Re: how to make a Sky Dome
Post by: Charles on June 02, 2013, 02:25:59 am
That's it! Thx!