Jump to content

Improve lighting from point light?


Recommended Posts

Hi Everyone,

Can anyone suggest a way to improve the lighting on this planet model (attached image)?

The light-to-dark gradient band isn't even and seems unnatural.

There's a point light (the sun) which is the main light source and hemispheric light with 0.4 intensity.





Link to comment
Share on other sites

Link to comment
Share on other sites

1 minute ago, Pryme8 said:

Nope, it renders them in the color of the materials ambientColor and the scenes ambientColor I think multiplied together.

Oh OK!

I'll do a bit of experimenting and see if I can come up with an acceptable effect.

Thanks for all your help on this @Pryme8 !

Link to comment
Share on other sites

I've removed the hemispheric light and set the `scene.ambientColor` like this

scene.ambientColor = new BABYLON.Color3(1, 1, 1);

But, I'm still getting banding - it shows up the most on the light coloured planets. It's very noticeable on Uranus, less so on Jupiter, and barely perceptible on Mercury (probably because of the texture colour)

Screen Shot 2017-12-06 at 1.10.09 PM.png

Screen Shot 2017-12-06 at 1.12.04 PM.png

Screen Shot 2017-12-06 at 1.11.47 PM.png

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.

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.


  • Recently Browsing   0 members

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