| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 2d/helpers.scm (memoize): New procedure.
* 2d/shader.scm (uniform-location): memoize.
(uniform-set!): Pass symbol instead of string.
|
|
|
|
|
|
|
| |
* 2d/shader.scm (load-shader-procedure): New procedure.
* 2d/font.scm:
* 2d/sprite.scm: Use it.
|
|
|
|
|
| |
* 2d/shader.scm (make-shader-program): Change parameter list.
(vertex-shader?, fragment-shader?): New procedures.
|
|
|
|
| |
* 2d/shader.scm (shader-program-attribute-location): New procedure.
|
|
|
|
| |
* 2d/shader.scm: Export shader-program-id.
|
| |
|
| |
|
|
|
|
| |
* 2d/shader.scm (load-shader): Add exception handling.
|
|
|
|
|
| |
* 2d/shader.scm: Use vec2 instead of vec4 when setting a vector2
uniform value.
|
|
|
|
|
|
| |
* 2d/transform.scm: New module.
* 2d/shader.scm: Add uniform setter for transforms.
* Makefile.am (SOURCES): Add '2d/transform.scm'.
|
|
* 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.
|