문제

I'm trying to write a 2D Game using Starling, and most textures are up to 4k, and I'm getting a resource limit exception.

Is there a way or an algorithm, idea, to get HD Textures and use them with that limited texture resources in stage3d ? Compression ?

도움이 되었습니까?

해결책

Stage3D (which Starling uses underneath) has a max texture size of 2048x2048. If your textures are larger than this, then you are going to have to split them and stitch them together at runtime.

If you find yourself running out of memory (rather than the dimensional size limit) then you can look into compression using ATF textures.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top