z-fighting of street and striping when camera at longer distances
https://github.com/aframevr/aframe/issues/666#issuecomment-171182072
- try render-order
- try material depthTest = false
- tried render order and material depthTest = false but it resulted in weird things
- like markings appearing over all other objects, albeit not flickering
maybe try a simpler version of the road, marking and shadow, like the codepen example
Another idea - increase the distance of the road markers from each other relative to the camera distance away from the markers
another potential method using material.polygonOffset
https://stackoverflow.com/a/25228048/5347747
setting logarithmicDepthBuffer: true on scene renderer seems to work great
I tried to find reasons why it might be bad ... this seems to good to be true for such a quick fix. I seem to recall issues maybe in VR mode for objects with large distances like long continuous street segments.