FIXED: TopTo CHOP - Input UV chop channels don't sample correctly

If sending uv chop channels to the input of a TopTo CHOP to sample a texture, there’s some inconsistencies with the sampled values (some are reporting a value of 0). If I use the same input channels, but instead trim them to a single sample, and then reference that in a TopTo in “Crop: Pixel” mode, then it will sample correctly (but again, connecting this single uv sample into the input will produce a value of 0)

Some are correct, others are not.

uv_sampling_bug.tox (2.3 KB)

Tested on Windows build 2019.20140

Reviving an old topic. I think this is correct in the latest builds. I’ve also improved the pixel inspector in 2023.10000 so the UV values you get from pixels now are the pixel-center values, not the bottom left corner. This will provide more accurate sampling as well, since the values in this example were right on pixel-edge, which may or may not sample from the desired pixel (could be the neighbor).

1 Like