How to create *large* textures?

Okay so I found the problem, it was quite an obvious mistake on my part. The error says that the texture exceeds the maximum allowed dimension, not size. In my code I was treating the texture like a float array so I had the dimensions of the texture as (data.Num(), 1), and since the data is typically millions of floats long this clearly exceeds the dimension limits.

It’s nice to have the textures structured like this because it makes shader sampling index wise quite simple, but it seems I will just have to pack the data asymmetrically. I tried making the texture (data.Num() / 1080, 1080) and the texture was successfully created. Thanks for everyone’s help!

2 Likes