summaryrefslogtreecommitdiff
path: root/2d/shader.scm
Commit message (Collapse)AuthorAgeFilesLines
* Add shader-program-attribute-location procedure.David Thompson2014-04-211-0/+6
| | | | * 2d/shader.scm (shader-program-attribute-location): New procedure.
* Export shader-program-id procedure.David Thompson2014-04-211-0/+1
| | | | * 2d/shader.scm: Export shader-program-id.
* Replace figl with the new guile-opengl official release.David Thompson2014-03-231-2/+2
|
* Change license to GPLv3+.David Thompson2014-03-081-0/+17
|
* Throw error if shader file does not exist.David Thompson2014-02-161-1/+3
| | | | * 2d/shader.scm (load-shader): Add exception handling.
* Use vec2 instead of vec4 for vector2 uniforms.David Thompson2014-02-161-4/+1
| | | | | * 2d/shader.scm: Use vec2 instead of vec4 when setting a vector2 uniform value.
* Add 4x4 transformation matrix module.David Thompson2014-02-151-0/+9
| | | | | | * 2d/transform.scm: New module. * 2d/shader.scm: Add uniform setter for transforms. * Makefile.am (SOURCES): Add '2d/transform.scm'.
* Add shader module.David Thompson2014-02-091-0/+268
* 2d/shader.scm: New module. * Makefile.am: Add 2d/shader.scm to SOURCES. * examples/shader.scm: New example. * examples/shaders/fragment-shader.glsl: New shader. * examples/shaders/vertex-shader.glsl: New shader.