mizuwu Posted October 25, 2018 Share Posted October 25, 2018 I was wondering if there's a texture resize function in Babylon for when the textures are too large. Or, what else can I do when a user puts in a texture that's too large? Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted October 25, 2018 Share Posted October 25, 2018 Depends. Do you mean dimensions are too large for hardware? In that case, get a tool like gimp to reduce dimensions is probably the only option. If you means they technically would load, but the sum of them demand too much RAM, then you could compress them. See multi-platform compressed textures to reduce memory footprint. Quote Link to comment Share on other sites More sharing options...
mizuwu Posted October 25, 2018 Author Share Posted October 25, 2018 1 hour ago, JCPalmer said: Depends. Do you mean dimensions are too large for hardware? In that case, get a tool like gimp to reduce dimensions is probably the only option. If you means they technically would load, but the sum of them demand too much RAM, then you could compress them. See multi-platform compressed textures to reduce memory footprint. Yes, I meant that the dimensions are too large for engine.getCaps().maxTextureSize. Alright, I guess babylon doesnt have the functionality Thanks for answering! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.