Z ordering on instances with an alpha


I updated to version 4 this morning on an app that was build with version 3. Its was a pretty heavy scene, but since the update the performance has increased greatly. (Thank you!)

I do however seem to have an issue with instances and the order in which they render. See below. Some trees in the background appear on top of the foreground trees.

I’ve been looking through the docs and the forum. Tried various things from both. (hasAlpha, predepthpass, etc). If the transparencyMode is set to alpha test, they render with the correct depth, but have nasty edges.

The strange thing is this didn’t occur in version 3. Any ideas? I’ll repro in the playground tonight, just curious.