Camera input and mirror effect now also work in WebGPU. Added the "once" parameter, which renders a single frame. Fixed bugs in gpu-buffer.

This commit is contained in:
Rezmason
2022-08-11 00:08:05 -07:00
parent fc6821f4db
commit 3da3db61f1
10 changed files with 241 additions and 20 deletions

View File

@@ -27,6 +27,7 @@ export default ({ config, device }) => {
backgroundTex = bgTex;
computePipeline = device.createComputePipeline({
layout: "auto",
compute: {
module: imageShader.module,
entryPoint: "computeMain",