public GBufferShaderStep(string name)
 {
     this.Name      = name;
     this.vertexVBO = new VBO(this.Name + "_v");
     this.indexVBO  = new VBO(this.Name + "_i", BufferTarget.ElementArrayBuffer);
     this.gbuffer   = new GBuffer(this.Name + "_gb", false);
     this.program   = new ShaderProgram(this.Name + "_sp");
 }
Пример #2
0
 public GBufferCombiner(GBuffer gb, ShaderProgram prog)
     : this(gb)
 {
     this.CombineProgram = prog;
 }
Пример #3
0
 public GBufferCombiner(GBuffer gb)
     : this()
 {
     this.GBuffer = gb;
 }