Jump to content

Orthographic camera fog (bug?)


FunFetched
 Share

Recommended Posts

BabylonJS 3.0 introduces an "issue" where fog is applied with a falloff aligned with the screen plane when using an orthographic camera. This wasn't the case in 2.5. In the playground example below, what was a completely black square in 2.5 displays a red gradient starting from the center in 3.0.

https://www.babylonjs-playground.com/#UIZRVD

Was this intentional?

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...