You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you comment out the rotation in the animate function, you can see the texture is exactly flipped upside down.
//cube.rotation.x += 0.005;
//cube.rotation.y += 0.01;
Is this a bug? if not, can you please explain why it is the case and how to fix?
The text was updated successfully, but these errors were encountered:
Hi, I experience the same. In the Texture class it seems that .flipY by default is true. In three.js this is false. In my case it took some time and bug hunting, before I realized this. The workaround is a simple one liner.
Texture texture = ImageUtils.loadTexture(wmsGetMapUrl, mapping: new UVMapping());
texture.flipY = false;//Disable the default vertical flip.
Hi, why is the texture in this example flipped upside down? web_gl_geometry_cube
http://threedart.github.io/three.dart/example/web_gl_geometry_cube/web_gl_geometry_cube.html
https://github.com/threeDart/three.dart/blob/master/example/web_gl_geometry_cube/web_gl_geometry_cube.dart
If you comment out the rotation in the animate function, you can see the texture is exactly flipped upside down.
//cube.rotation.x += 0.005;
//cube.rotation.y += 0.01;
Is this a bug? if not, can you please explain why it is the case and how to fix?
The text was updated successfully, but these errors were encountered: