three.quarks
three.quarks copied to clipboard
MeshStandardMaterial doesn't work anymore with texture assigned
Describe the bug
ParticleSystems using a mesh standard material with billboards did work previously ("0.10.8") and stopped working in latest 0.15.5 (not sure which version exactly). The texture is randomly chosen from any material in the scene it seems (or perhaps the last texture bound?)
To Reproduce Steps to reproduce the behavior:
- Create billboard particle system with standard material
- Assign some texture
- Create some other objects in the scene using standard material + some other texture
- Observe error
Expected behavior Correct texture is chosen
Screenshots
Expected:
Actual:
It's working again if i use a meshbasicmaterial
Stepping through:
https://github.com/user-attachments/assets/cfabd2f1-669c-4ea4-bf53-b017776b32ce
Desktop (please complete the following information):
- OS: win10
- Browser chrome Version 132.0.6834.160 (Official Build) (64-bit)
- Version 0.15.5
Additional context It looks like the SpriteBatch does set the map define but never assigns the texture