gl-simpleTextureGenerator
v0.1.0
Published
generates checkerboard test textures
Downloads
5
Readme
gl-simpleTextureGenerator
generates checkerboard test textures for stack-gl
Installation
$ npm install gl-simpleTextureGenerator
Example
var textureGenerator = require("gl-simpleTextureGenerator");
var createTexture = require("gl-texture2d");
var texture = generateTexture({width: 64, height: 64});
//then load into the gpu
createTexture(gl, texture);
Badges