Jump to content

Purpose of engine.getCaps().maxTextureSize?


mizuwu
 Share

Recommended Posts

I might be missing something here, but I don't understand how even though a texture larger than engine.getCaps().maxTextureSize can still be mounted onto the mesh.

Whether it be by link or getting the path of the image relative to the source doc, the image can be loaded in most instances.

However, in another project that I'm doing, the restricted image size does not let me pass in larger images.

Would like to know what could've been the different about this one particular project vs the other ones that allow large textures?

I've heard that it might be because of the browser applying resizing functions to the images, but I want a more definite answer.

Link to comment
Share on other sites

12 minutes ago, Deltakosh said:

Well I can think of a case where the browser cannot load the image but it has to be HUGE

For example, my iPhone has a maxTextureSize of 4096. Although it works at 4096, the texture would fail at 4097 for my particular program.

I can't think of any reason why this program would fail when my prototypes allow larger textures.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...