levere

Possible LensFlareSystem Issue(s)

Recommended Posts

Hi @levere,

I am not sure what you were expecting to do here. I assume you wanted the sphere to block the camera's movement?

this has nothing to do with the LFS (you can disable it and your demo will not work as well)

To enable collisions on the sphere you will need to set the sphere's checkCollisions to true: http://www.babylonjs-playground.com/#7M28FW#2

 

Share this post


Link to post
Share on other sites

I want the sphere to block the lens flare, if it's between the camera and the light source (as it used to). If camera.checkCollisions is true, the sphere does not block the lens flare. If it is false, it does. I need collision checking in my application. Simply turning it off is not an option. Setting checkCollisions to true on the sphere changes nothing with regards to the lens flare.

Share this post


Link to post
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...

  • Recently Browsing   0 members

    No registered users viewing this page.