Forum

the use of environment world

26 February 2018 10:52
hello

find my new project using B4W ( I am a new in B4W), I use environment texture. All is ok when I load the page in a computer, you only have to wait loading the page. If I wand to load on android : I don't see the environment textutre.

Looking to your comment to improve


http://www.visite-panorama-360.fr/panoramique_360/2018-02-15-Animation3D/my_project_2018-02-24-echec/my_project_2018-02-24-echec.html
28 February 2018 12:41
This is a log from my mobile device:
WebGL: INVALID_VALUE: texImage2D: width or height out of range
T @ my_project_2018-02-24-echec.html:485
B @ my_project_2018-02-24-echec.html:1042
e.onload @ my_project_2018-02-24-echec.html:1076
6[.Offscreen-For-WebGL-0xc8dfd400]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.


Maybe your texture is too big for mobile devices or it is non power of 2. try to reduce its size and make its width and height power of 2.
Alexander (Blend4Web Team)
twitter
02 March 2018 17:06
Hello

Thanks for your answer, I created an other presentation using a cubemap 6144 * 4096 pixels and I have the same problem.

I can't see the environment texture on android ( on computer it is ok). I need to decrease the size of the cubemap ?

see the new example below :

http://www.visite-panorama-360.fr/panoramique_360/2018-02-15-Animation3D/2018-03-02-presentoir/2018-03-02-presentoir.html
04 March 2018 00:27
You can see the max texture size for your device here: http://webglreport.com/
World statistics: https://webglstats.com/webgl/parameter/MAX_TEXTURE_SIZE
Alexander (Blend4Web Team)
twitter
 
Please register or log in to leave a reply.