View Full Version : Map a texture on the inner side of the sphere
12-08-2009, 11:18 AM
does anyone know how to map a texture on the inner side of a sphere?
12-08-2009, 08:50 PM
Just map a texture to a sphere normally (try gluSphere) and use gluLookAt to put your eye inside the sphere looking out.
12-09-2009, 08:19 AM
it's not working, when i'm inside the sphere it disappears.
12-09-2009, 08:20 AM
What disappears? The sphere? Is backside culling enabled?
12-09-2009, 09:33 AM
The sphere disappears,i used this glEnable(GL_CULL_FACE);maybe this is the problem
12-09-2009, 09:38 AM
it's working now i used glEnable(GL_BACK); that was the problem thanks
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.