Open bartolomiew opened 9 years ago
Let me check it, and I'll write you asap
Looks like the issue is in blending mode for materials
Nice to see you are able to find what's wrong so quickly
But I need a time to figure it out. I think the issue somewhere in WebGLRenderer.setBlending() method, perhaps in caching..
Ok, looks like I found an issue. It was more complex, than I thought.
// getScene().add(skyBox);
@Override
protected void loadRenderingPanelAttributes(RenderingPanel renderingPanel)
{
super.loadRenderingPanelAttributes(renderingPanel);
renderingPanel.setBackground(0xccccff);
}
_clearAlpha = 0.0;
in Parallax _clearAlpha = 1.0;
that is why you need in the AnimatedScene
do the followinggetRenderer().setClearColor(0x000000, 0.0);
Hope it help, If you fine you can close the issue
I've applyed all your changes, Front side the scene is now perfect but if you rotate the scene 180° on Z axis, looks at the sphere who is now behind the red ball. Thank's for the tip about _clearAlpha value.
Yes, this is strange behavior. I'll take a look at it
While trying to port this demo : http://stemkoski.github.io/Three.js/Translucence.html I can see several differences with Three.js. Fog doesn't work as expected so I've to add skybox to the scene, when looking at the scene in front rendering is almost the same, but behind doesn't work as expected either.