[HOpenGL] How to send matrices to GLSL uniform variables

梶本 裕介 usk at lunaticengine.org
Thu Aug 23 18:32:44 CEST 2012


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.
(http://hackage.haskell.org/packages/archive/OpenGL/2.5.0.0/doc/html/Graphics-Rendering-OpenGL-GL-Shaders.html)
How can I achieve this?


More information about the HOpenGL mailing list