I want to create a floor using a cube and then light it using a spotlight,
which would normally light a spherical area on the top face of the floor.
How do i create the floor?
with glutSolidCube the cube doesn't seem to have any interaction with the light,
Is there any way i can make this with glut instead of glVertex and GL_QUADS or GL_QUAD_STRIPS?
And how do i apply a texture on the glutSolidSphere?
The gluQuadrics objects dont have the same problem, because u can set their normals and the texture is auto-applied using the helper functions of GLU.
The only help that's not helpful is the help that's not given....
So any help is welcome.