Passes now accept as input and provide as output Objects with FBOs as values. This allows passes to work with more than one input texture.

This commit is contained in:
Rezmason
2020-06-25 02:23:59 -07:00
parent e100117d8b
commit 021ade45e1
9 changed files with 61 additions and 40 deletions

View File

@@ -356,7 +356,9 @@ export default (regl, config) => {
});
return makePass(
output,
{
primary: output
},
resources => {
update();
render(resources);