-
Hello! I have successfully used this tool to display my shader with the default canvas that is created. However I am having trouble getting it to display on another canvas. I am trying this script which exists in the body. I have used console.log to make sure that the canvas does indeed exist when the shader is being run
The error I get reads: Is there a different way I should be referencing the canvas element? Thank you in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Have you tried replacing |
Beta Was this translation helpful? Give feedback.
Have you tried replacing
canvas: {myCanvas}
withcanvas: myCanvas
?