I use write_html() inside python with pyvista using export_html (a wrapper of write_html according to the source code).
I notice extra shadow effects on semi-transparent objects when you zoom-in. I wonder if this is a bug or not, but it's an issue for my applications. Everything is described here with animation and images.
I'd be happy to have extra informations about this features, possibly a way to solve / improve this. I can provide mode details / help solving this issue if needed !
Have a nice day