-
Manipulating light using class
I`ve created a class that holds all the light parameters neede :
Position,Direction,Specular color,Diffusion color,its index(used GL_LIGHT1 as the first and a static counter reference for the next).
The class is suppose to turn on/off (glEnable/Disable..) the light , set new values etc.
The problem : it is`nt working !!!
Must I use the usual function inside the render/Callback functions ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules