problem adding bumpmap to textured gluSphere in JOGL
- by ChocoMan
I currently have one texture on a gluSphere that represents the Earth being displayed perfectly, but having trouble figuring out how to implement a bumpmap as well.
The bumpmap resides in "res/planet/earth/earthbump1k.jpg".Here is the code I have for the regular texture:
gl.glTranslatef(xPath, 0, yPath + zPos);
gl.glColor3f(1.0f, 1.0f,…