Skip to content

Commit a3e1686

Browse files
committed
Updated a code example.
1 parent da01e9e commit a3e1686

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ export class MyPass extends Pass {
6262

6363
}
6464

65-
render(renderer, readBuffer, writeBuffer) {
65+
render(renderer, inputBuffer, outputBuffer, delta, stencilTest) {
6666

67-
this.material.uniforms.tDiffuse.value = readBuffer.texture;
68-
renderer.render(this.scene, this.camera, this.renderToScreen ? null : writeBuffer);
67+
this.material.uniforms.tDiffuse.value = inputBuffer.texture;
68+
renderer.render(this.scene, this.camera, this.renderToScreen ? null : outputBuffer);
6969

7070
}
7171

0 commit comments

Comments
 (0)