diff options
author | David Thompson <dthompson2@worcester.edu> | 2016-01-11 08:37:42 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2016-01-12 08:38:44 -0500 |
commit | d21b67eaad50c9389e1ad83cc595d2e77783942c (patch) | |
tree | fb2642a4c14f63d01a6d1fe193676b7ea024d866 /examples/sprite-batch.scm | |
parent | 3c349c76e44ae4f5789a2f9e68f6ad260d212a30 (diff) |
render: Add alpha value to render context.
Necessary for interpolating moving objects to avoid temporal aliasing.
* sly/render.scm (<graphics>)[alpha]: New field.
(graphics-alpha, set-graphics-alpha!): New procedure.
* sly/game.scm (run-game-loop): Set the frame's alpha value before each
render call.
Diffstat (limited to 'examples/sprite-batch.scm')
0 files changed, 0 insertions, 0 deletions