[Haskell-cafe] HOpenGL shading problem

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Thu Nov 13 06:26:35 EST 2008


Trin <trin.cz at gmail.com> 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.

Regards,
    Malcolm


More information about the Haskell-Cafe mailing list