Jump to content

Weird lighting on loaded mesh


fsmorygo
 Share

Recommended Posts

PG: http://www.babylonjs-playground.com/#J9NF8S#1

Light has in direction in the direction opposite to the mesh.

I have 2 concerns:

  1. The angle of cone light is set to PI (180deg). Why is illuminating the back side then?
  2. Even if the light is directed onto the mesh directly, it it lit very strange. Notice the strange black unlit zone after the border. Why is it happening and how to counter it?
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...