- 2019-02-05 at 7:25 pm #11052
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 #11077
Thanks Yuri2019-04-09 at 2:18 am #13697
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 #13715
- This reply was modified 7 months, 2 weeks 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 #20913
i am getting error in max while exporting gltf
Attachments:You must be logged in to view attached files.2019-10-31 at 1:16 pm #20917
You must be logged in to reply to this topic.