-
-
Notifications
You must be signed in to change notification settings - Fork 36.3k
Closed
Labels
Description
After introducing support for texture repeat and offset in #21852, the ambient occlusion map is repeated many times, despite the fact that we are setting the scale separately for each texture:
float2 inputs:scale = ${ buildVector2( texture.repeat ) }
To Reproduce
Steps to reproduce the behavior:
- Have a model with tiled diffuse map and (obviously not tiled) AO map.
- Export to USDZ
- unzip USDZ archive and open USDA file
- notice different scaling for each textures, diffuse texture may have scale major/minor from (1,1) and AO map should have a scale of (1,1)
- Transfer USDZ file to iPhone/iPad
- Open it in QuickLook and see AO map being tiled multiple times (probably as many as diffuse)
Expected behavior
AO map should not be tiled/repeated.
Screenshots
from #21871

Platform:
- Device: [Desktop, Mobile]
- OS: [Windows, MacOS, Linux, iOS]
- Browser: [Chrome, Firefox, Safari, Edge]
- Three.js version: [dev, r129]
Reactions are currently unavailable