(inputTexture, flipY = 1.0)
| 483 | } |
| 484 | |
| 485 | _renderPassthrough(inputTexture, flipY = 1.0) { |
| 486 | const gl = this.gl; |
| 487 | this._useProgram(this.programs.passthrough, flipY); |
| 488 | gl.activeTexture(gl.TEXTURE0); |
| 489 | gl.bindTexture(gl.TEXTURE_2D, inputTexture); |
| 490 | gl.uniform1i(this.programs.passthrough.uniforms.u_image, 0); |
| 491 | gl.drawArrays(gl.TRIANGLES, 0, 6); |
| 492 | } |
| 493 | |
| 494 | _renderNoise(params, inputTexture, width, height, seed, flipY = 1.0) { |
| 495 | const gl = this.gl; |
no test coverage detected