Hubs-Foundation / Hubs-Foundation/three-batch-manager

Mesh batching is broken on macOS

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
17
Forks
16
PR merge metrics
No merged PRs in 30d

Description

The mesh batching example in this repo is renders incorrectly on macOS in both Firefox and Chrome (tested on a 13-inch 2018 MacBook Pro with Intel Iris Plus Graphics 655 chipset). Specifically, most of the textures on the meshes in the atrium GLB are rendered white and the mip mapping on the animated fan is incorrect. Inspecting the atlas shows that the base texture on layer 0 is being overwritten by mip maps from other levels and layers. Although a similar bug was observed with image batching, and fixed in #19, that fix does not seem to work for the atrium model. Also similarly, reducing the layer resolution does seem to work around the issue, at least partially.

Bug repro screenshot on macOS:
![image](https://user-images.githubusercontent.com/79419/70369632-7619e100-1871-11ea-8955-0203d9d27c66.png)

Working render on Windows:
![image](https://user-images.githubusercontent.com/79419/70369643-92b61900-1871-11ea-907b-2f979699a248.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.