Page 1 of 1
GsIMAGE spanning multiple texture pages possible?
Posted: April 14th, 2022, 6:57 am
by zolost
I have these tileset images that I would prefer not having to split up into several smaller 256x256 subsets. If i understand the psyq documentation correctly then it is not possible, but I've seen some hints here and there in other projects that it is.
In my attempts the image just overlaps as soon as the width exceeds 256.
Just curious

Re: GsIMAGE spanning multiple texture pages possible?
Posted: April 15th, 2022, 11:04 pm
by mzxtuelkl
zolost wrote: April 14th, 2022, 6:57 am
I have these tileset images that I would prefer not having to split up into several smaller 256x256 subsets. If i understand the psyq documentation correctly then it is not possible, but I've seen some hints here and there in other projects that it is.
The 256x256 limit is a hardware limitation (according to the nocash docs), so either uploading large textures to VRAM or trying to access tiles exceeding your original tpage will cause issues unless you use a workaround.
Re: GsIMAGE spanning multiple texture pages possible?
Posted: April 16th, 2022, 7:39 am
by Administrator
One trick might be to program it so your 3D model uses two 256 x 256 pages and aligns them to seem seamless as one continuous texture.