Community Tutorial: Creating a Runtime Editable Texture in C++

This solved several problems for me. Thanks for creating this.

There is a bug that I’m guessing just got copy and pasted though. For all the linear color conversions, the B channel isn’t multiplied by 255. You might want to FLinearColor ToFColor for the conversion instead, since it does some stuff under the hood to account for different CPU architectures. You could also probably just optimize it all out and just have TextureData be an array of FColor instead of uint8. I’m still investigating that part though.

Again, thanks for creating this. Super useful.

1 Like