2019-02-05 at 7:25 pm #11052AtomfreakCustomer
Just to be certain, the limit of 8 textures on Iphone, is it only 8 textures on the screen or loaded?
Is it possible to play with a loading system? If for example, I have 3 packs of textures that I can choose. So only 1 is loaded. Would this system allow me to have infinite quantities of textures?
Also Vincent ask about color material not texture. Are color materials counted as a texture?2019-02-06 at 7:21 am #11057
is it only 8 textures on the screen or loaded?
this is per WebGL shader – which can be different from what you see in 3ds Max or Blender material editor because of addition of a texture per each light source
If for example, I have 3 packs of textures that I can choose. So only 1 is loaded. Would this system allow me to have infinite quantities of textures?
Yes, loading and replacing textures in the shader on demand is the way to go
color materials counted as a texture?
nope, color maps/nodes in shaders are not counted as textures – those are just numeric values for WebGL2019-02-06 at 12:20 pm #11077AtomfreakCustomer
Thanks Yuri2019-04-09 at 2:18 am #13697scalareCustomer
I will need you to please explain more clearly the WebGL shader limitation. I also have issues with IOS. In my case, all objects show up, but the one that uses a texture shows a strange tiling. I have 3 lights (one sun and two spotlights in Blender), but my materials are rather simple. Only one texture map at initial load, used in one of the objects. The other materials I have are color-based. I have an hdr environment map, and a mask image for the floor (copying what you have done with the nightstand configurator). I also have a texture I use for trigger buttons (basically copied from the scooter example). So I’m counting 7 textures, which would be below the 8 textures limit. Am I missing something?
And just to clarify, what does it mean “WebGL shader” exactly? Is it 8 textures limit PER scene, or per blender shader, for example? It seems to be the first option, because with the scene I described, I would never reach the limit.
Ah, one more thing: what happens if the same material is used by more than one object? Does that count as two textures?
Thanks a lot!2019-04-09 at 7:08 am #13704
WebGL shader means an actual GLSL program running on GPU. This can be very different from material or Blender/Max shader. For example, it can additionally include the shadow map and the environment map thus increasing the number of textures used by 2.
The good news is that the limitation is counted per WebGL shader (not per scene), so you can have a lot of textures in your scene (see Scooter).
2019-04-09 at 10:21 am #13715scalareCustomer
- This reply was modified 3 years, 8 months ago by Yuri Kovelenov.
Thank you for clarifying. In this example, the issue gets resolved if I disable shadows for two of the three lights. Can you please explain why that is, when I’m only counting 7 textures, including the three lights shadow maps?2019-04-11 at 6:57 am #137692019-10-31 at 12:29 pm #20913nischayParticipant
i am getting error in max while exporting gltf2019-10-31 at 1:16 pm #209172022-04-21 at 12:58 pm #51244
I am developing a product configurator and before launching it I’ll be doing tests on the maximum number of platforms I can have access. I’m using Verge 3D for Blender 3.91 under MacOS and I had success on MacOS with Chrome, Safari and Firefox. It also performs well under iOS (iPhone and iPad) and Android.
The problem arises when I use a real Windows machine where the model doesn’t show (only metallic parts appear although not correctly textured). Curiously, when I test the configurator under a real Windows 10 installation through BootCamp everything works well. Attached you can find the correct expected result and the problematic one under real Windows. Could you please help me with this issue?
Thanks a lot!
Attachments:You must be logged in to view attached files.2022-04-25 at 2:37 pm #513622022-04-25 at 6:11 pm #51367
Here’s the link to the configurator:
Thank you for your help.2022-04-26 at 10:37 am #51372
I quickly tried your app. The problem is that it very heavy, it loads 135 Mb of files, and these 4 textures are super big:
I’d suggest fixing these issues first to make your app user-friendly, and may be it will fix the problem you described.2022-04-26 at 12:23 pm #51376
Hi Yuri. Thanks for your reply.
Sorry but I’ve uploaded to v3d cloud a version with these huge texture files. I have already tried with way smaller versions of any of the textures and the problem with Windows persisted. You can check it here.
Thank you.2022-04-27 at 10:14 am #51402
After reducing the files size it loads much faster now! Also, you got a dark-themed website, so you might want to switch to the Dark theme for your Verge3D app as well (requires creating a new app, and transferring all the assets and Puzzles to the app folder).
As of Windows problem, we tested it out more thoroughly on our own computers and yes, the issue reproduces. Can you share with us your scene file so that we investigate it further?
- You must be logged in to reply to this topic.