Performing extensive cleanup and adding comments to rainPass.compute

This commit is contained in:
Rezmason
2021-10-22 23:44:45 -07:00
parent af44126926
commit 2265e3c937
2 changed files with 126 additions and 116 deletions

View File

@@ -84,7 +84,7 @@ export default (regl, config) => {
frag: regl.prop("frag"),
uniforms: {
...computeUniforms,
lastState: doubleBuffer.back,
previousState: doubleBuffer.back,
},
framebuffer: doubleBuffer.front,