On Thu, Aug 23, 2012 at 9:32 AM, 梶本 裕介 <usk@lunaticengine.org> wrote:
Hi everyone,

In OpenGL 3.2, there is no fixed pipeline functionalities.
So I would like to send my model-view-projection matrix to GLSL through an uniform variable.
But I seem that there is no glUniformMatrix* family in HOpenGL.

In general, if you can't find it in HOpenGL, look at OpenGLRaw: http://hackage.haskell.org/package/OpenGLRaw

(http://hackage.haskell.org/packages/archive/OpenGL/2.5.0.0/doc/html/Graphics-Rendering-OpenGL-GL-Shaders.html)
How can I achieve this?

I don't have an example handy, but I believe this is possible. Perhaps someone else will have an example.

Jason