Integrating Cairo with UE?

Hi, i Only change 256 x 256 to 100 x 10 Pixels in BluePrint Widget

I’m pretty sure textures have to be size 2^n. Try 128x16.

No, error, Break Editor…

Okay, I tried it myself, and you’re right - it crashes. Only square textures work. So 128x128 works. I don’t know enough about UE4, to tell, what the problem is. If someone can help out here, I would be very grateful. Otherwise I might replace the ‘width’ and ‘height’ properties with a single ‘size’ property.

It’s not a problem with UE. Video cards themselves require texture dimensions to be a power of two.

It’d be a wise choice to add an escape route for textures that aren’t a power of 2. And square to be safe.

I’m aware of that, but usually they don’t have to be square.
I might be doing something wrong, when creating the texture. I just don’t know what.

I can live with that :slight_smile: