Re: [Haskell-cafe] HOpenGL shading problem

2008-11-13 Thread Malcolm Wallace
Trin [EMAIL PROTECTED] wrote: But I have a problem with shading. Whatever I have been trying, I still don't understand how the shading can be activated. I have light, I have color, but not even Flat shading. I think if you want shading, you need to compute the normals to each surface.

[Haskell-cafe] HOpenGL shading problem

2008-11-12 Thread Trin
Hi, last few days I spent making remake of glxgears. Nothing fancy, I just wanted easily configurable gears. The current performance is only about 70% of glxgears. But I have a problem with shading. Whatever I have been trying, I still don't understand how the shading can be activated. I have