@marquizzo helped me see that the problem was in the FBO vertex shader, where I flip the uv coordinates on the y axis. Simply defining vUv = uv (rather than flipping the uv on the y axis) clears this up.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
When I reuse WebGLRenderTarget as material it gets zeroed | 3 | 208 | January 28, 2024 | |
THREE.DataTexture is not sampled (or rendered) through ShaderMaterial | 4 | 152 | October 6, 2024 | |
FBO ping-pong texture mapping issue R3F | 0 | 84 | April 30, 2025 | |
readRenderTargetPixels on R3F/drei useFBO hook | 1 | 617 | March 12, 2024 | |
Create dataTexture by customer arrayBuffer. But got a complete black scene | 3 | 1645 | December 6, 2018 |