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
The svg patch in v9.109.3 overwrites the renderOrder with a value between 0 and the number of paths in the svg. Having a model with complex transparency that is highly dependent on render order, I had to do a workaround to restore render order. I'm looping over my svg materials and setting the render order to my specific preferred value every time my svg have updated its materials.
Relevant code:
See Svg.tsx lines 42, 53 and 69 in v9.109.3
Suggested solution:
If renderOrder is supplied - set the same renderOrder on every material, otherwise iterate as it's done today, or do something more clever.
The text was updated successfully, but these errors were encountered:
@react-three/drei
version: v9.109.3Problem description:
The svg patch in v9.109.3 overwrites the renderOrder with a value between 0 and the number of paths in the svg. Having a model with complex transparency that is highly dependent on render order, I had to do a workaround to restore render order. I'm looping over my svg materials and setting the render order to my specific preferred value every time my svg have updated its materials.
Relevant code:
See Svg.tsx lines 42, 53 and 69 in v9.109.3
Suggested solution:
If renderOrder is supplied - set the same renderOrder on every material, otherwise iterate as it's done today, or do something more clever.
The text was updated successfully, but these errors were encountered: