diff options
author | David Thompson <davet@gnu.org> | 2015-06-06 09:30:42 -0400 |
---|---|---|
committer | David Thompson <davet@gnu.org> | 2015-06-06 09:30:42 -0400 |
commit | de2abeb1a9bb6a51b0057baa5097b64c06590297 (patch) | |
tree | d00bd781b7d7bfdcb65b3932d7737196d98dffe9 /examples/images/bullet.png | |
parent | bef0b89e4e8eec38fac455f19657ecff979aa287 (diff) |
render: Bypass texture rendering when a model uses the null texture.
* data/shaders/default-fragment.glsl (use_texture): New uniform.
(main): Skip texture rendering when 'use_texture' is false.
* sly/render/model.scm (draw-model): Set 'use_texture' uniform before
rendering.
* sly/render/shader.scm (load-default-shader): Register 'use_texture'
uniform.
Diffstat (limited to 'examples/images/bullet.png')
0 files changed, 0 insertions, 0 deletions