PostFX Pipeline only needs a single quad

This commit is contained in:
Richard Davey 2020-11-10 11:59:28 +00:00
parent ca52436340
commit e7319907c7

View file

@ -46,6 +46,7 @@ var PostFXPipeline = new Class({
{ {
config.fragShader = GetFastValue(config, 'fragShader', ShaderSourceFS); config.fragShader = GetFastValue(config, 'fragShader', ShaderSourceFS);
config.vertShader = GetFastValue(config, 'vertShader', ShaderSourceVS); config.vertShader = GetFastValue(config, 'vertShader', ShaderSourceVS);
config.vertexCapacity = GetFastValue(config, 'vertexCapacity', 1);
config.uniforms = GetFastValue(config, 'uniforms', [ config.uniforms = GetFastValue(config, 'uniforms', [
'uProjectionMatrix', 'uProjectionMatrix',
'uMainSampler' 'uMainSampler'