Jump to content

Occlusion Queries does not appear right


Dad72
 Share

Recommended Posts

On this PG, when I move the camera to the left to see the sphere, it appears.
But if I move the camera to the right to see the sphere, it does not appear.
She also appears if I look from behind. It's only from the right that I do not see it. or I must approach very very ready.

try to move the camera to the right to look at the sphere, it will not appear.
Try to the left or the back, it will appear.

http://www.babylonjs-playground.com/#QDAZ80#10

Super feature by the way ;)

Link to comment
Share on other sites

I noticed another problem is that the when the object is occult, if the object casts a shadows, the shadows remains display, it would have to disable it too, otherwise the scene has shadows unnecessarily calculate. :)

For example, setEnabled(false) disables shadows if the object  project shadows

http://www.babylonjs-playground.com/#QDAZ80#13

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...