Interactive-Modding / Jurassic-Reborn

GNU Lesser General Public License v2.1
13 stars 24 forks source link

fix high ram usage when using vintagefix dynamic resource and crash #79

Open hampop opened 4 months ago

hampop commented 4 months ago

fix vintagefix high ram usage when using dynamic resource

the reason is that dynamic resource change how textures are loaded so it will put all the textures in the blocks folder and subfolders in the blocks folder onto the texture atlas the issue it that the texture atlas limit is 16,384 x 16,384 which normally be fine but Reborn textures are large like 4096 x 4096 so we just need 16 textures that are 4096 x 4096 to full up it which cause high ram usage but dynamic resource does have a fallback system so that all textures are loaded but this does increase load time but if you have optfine it will just crash since the fallback system does not work with optfine