Open makc opened 6 years ago
looking at #1, there may be a connection 🤔
oh yes,
$ npm view ndpack-image version 3.0.0
duplicated in horizontal direction
I think the image is not duplicated along the x axis but rather half of its data is placed there (every 2nd scan line) - we see lower texture resolution in the output
I was trying to use 1024x512 image with regl, and not only it was rotated by 90 degrees and flipped, but also duplicated in horizontal direction, so I had to add this in the shader to work around:
This is even though js output says
so proper dimensions are known to ndpack.