Forum

texture does not repeat with blend4web

17 September 2015 10:21 #3883
I wanted a texture to repeat, but it works as "Extend" when exported with Blend4Web.
Is it a but or is something special turned off?

roof.html
17 September 2015 10:23 #3884

Ответ на сообщение пользователя nils.austa
I wanted a texture to repeat, but it works as "Extend" when exported with Blend4Web.
Is it a but or is something special turned off?

roof.html

A blend file also:
roof.blend
17 September 2015 10:31 #3885
You have NPOT (not power of two) texture. Image size must be like 1024x1024, 512x512, 256x256 or so

WebGL for now just can't deal properly with NPOT textures.
3D Generalist, contests administrator,
Blend4Web team.
art blog: http://contret-art.tumblr.com/
17 September 2015 10:39 #3886
Thanks!
I wondered, why this NPOT works there?
https://sketchfab.com/models/5122239de1a54160a96eec6c55e8f942
Maybe they do some automatic scaling?
17 September 2015 10:47 #3887
Hello Nils,

Yes, sketchfab automatically downscales NPOT textures. In you example instead of 700x700 texture they use 512x512. I think, we can add such an option for NPOT textures.
Blend4Web developer
29 October 2015 09:27 #4654
This issue was resolved in 15.10.
Development Lead | Twitter
 
Please register or log in to leave a reply.