var glu = require('pex-glu');
var color = require('pex-color');
var Context = glu.Context;
var Material = glu.Material;
var Program = glu.Program;
var Color = color.Color;
var merge = require('merge');
var fs = require('fs');
var SkyBoxGLSL = fs.readFileSync(__dirname + '/SkyBox.glsl', 'utf8');
function SkyBox(uniforms) {
this.gl = Context.currentContext;
var program = new Program(SkyBoxGLSL);
var defaults = {};
uniforms = merge(defaults, uniforms);
Material.call(this, program, uniforms);
}
SkyBox.prototype = Object.create(Material.prototype);
module.exports = SkyBox;