I’m trying to use RenderTargetTexture to get the output of a custom shader (for learning with general computing)
I display the results of readPixels on another mesh. The phenomenon looks normal, but there are obvious errors in the data.
I can’t get the correct pixel color, such as red/green, maybe it’s a color space conversion issue? But I didn’t find the right solution
The colors are obviously wrong in some areas (there shouldn’t be a continuous white/black color) and I can’t confirm the cause of the problem
Here is the PG: