You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
buffer0 and buffer1 in main.ts are associated with flip in the the shader, but where are these buffers being written to? I didn't see associated buffer write calls.
samp seems unused in the shader.
cubeTexture - naming is a little confusing.
The text was updated successfully, but these errors were encountered:
buffer0 and buffer1 in main.ts are associated with flip in the the shader, but where are these buffers being written to? I didn't see associated buffer write calls.
They are set when they are created using mappedAtCreation, calling getMappedRange(), setting the value, and then unmaping.
buffer0 is just a buffer with 0 in it
buffer1 is just a buffer with 1 in it
One or the other is bound to flip. Bind buffer0 to not flip, bind buffer1 to flip. They don't need to be updated.
Thanks for the interesting sample!
I noticed these minor issues:
buffer0
andbuffer1
in main.ts are associated withflip
in the the shader, but where are these buffers being written to? I didn't see associated buffer write calls.samp
seems unused in the shader.cubeTexture
- naming is a little confusing.The text was updated successfully, but these errors were encountered: