Forum

texture does not repeat with blend4web

17 September 2015 10:21
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

Ответ на сообщение пользователя 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
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.
17 September 2015 10:39
Thanks!
I wondered, why this NPOT works there?
https://sketchfab.com/models/5122239de1a54160a96eec6c55e8f942
Maybe they do some automatic scaling?
17 September 2015 10:47
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.
29 October 2015 09:27
This issue was resolved in 15.10.
The Founder | Twitter | Facebook | Linkedin
 
Please register or log in to leave a reply.