View Full Version : Map a texture on the inner side of the sphere
12-08-2009, 12:18 PM
does anyone know how to map a texture on the inner side of a sphere?
12-08-2009, 09: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, 09:19 AM
it's not working, when i'm inside the sphere it disappears.
12-09-2009, 09:20 AM
What disappears? The sphere? Is backside culling enabled?
12-09-2009, 10:33 AM
The sphere disappears,i used this glEnable(GL_CULL_FACE);maybe this is the problem
12-09-2009, 10:38 AM
it's working now i used glEnable(GL_BACK); that was the problem thanks
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.