Hi
I try to run OpenGL in a MFC-dialog based Application. It works fine except for diffuse light control. It simply does not want to work at all, that means no diffuse light at all.
The same code for initialization and drawing used in a win32 window application works fine! Of course the place where you call the init routines is different from win32 to mfc
I don´t use textures but use Color-Material. Again, the same calls and light initializations, viewport, view, normals and objects (actually only 2 dummy triangles) and so on for both applications: Win32 app works fine for diffuse light control, MFC dialog base no diffuse light at all for color material. Any idea?
Thx for any help
Stefan



raw()