I am using the Spout-UE4 plugin made by AleDel. The problem is that if my width is not a factor of 32 the texture get distorted (https://ibb.co/kXgwpv). Does someone have any idea what can cause that and how can I repair it ?
This topic was modified 11 months, 2 weeks ago by jferland.
I tried the Spout openframeworks sender example with the dimensions of your image (411, 513), and textures are generated and received OK without skew. But generally width should be a multiple of 4 pixels for compatibility with other software.
Skew without multiple of 32 sounds like the texture should be a power of 2 or there is padding on each line. From what I can see, the UE4 plugin uses CopyResource to copy the texture you are passing in to a shared texture. Perhaps there is some incompatibility of the textures. Requirement for power of 2 with MipCount > 1 is described here :