Recommended Posts

image.png.8d3973d707fa8f872be0dbc911069ae3.pngimage.png.208de8626383ac5b542b99c2a131feb5.png
I love BABYLON :P, I encounter a troble about waterMaterial.It often appear some black edges at some angle of camera.
I can't find what cause it:(.
lights: there are two lights ,hem and point. but the waterMaterial still black when I adjust the lights
camera: arcRotate,target is (0,0,0),and the bigger the beta ,the darker the water
renderList:[skybox]

Share this post


Link to post
Share on other sites

well, we love babylon being loved! Welcome to the forum :)

Thou down at the moment, reproducing in the playground (playground.babylonjs.com) would be very helpful. we will be able to help much better

Share this post


Link to post
Share on other sites
41 minutes ago, RaananW said:

well, we love babylon being loved! Welcome to the forum :)

Thou down at the moment, reproducing in the playground (playground.babylonjs.com) would be very helpful. we will be able to help much better

ehh... how can i import my .babylon to the playground?maybe this is stupid question...

Share this post


Link to post
Share on other sites

not a stupid question,

but maybe try reproducing the issue with a simpler scene, so we can focus on the basics.

If not, you can upload the .babylon file to a server (or even a dropbox), and load it in the playground

Share this post


Link to post
Share on other sites
8 minutes ago, max123 said:

Had this problem. The solution is to play with scene.clearColor and/or scene.ambientColor. I think it's the former.

image.png.d2915fbf2d3901d11abae780d92b788e.pngwow! scene.clearColor really work... but what was originally black is now clearColor, I really want to it look like water from any angle

Share this post


Link to post
Share on other sites

@aWeirdo @max123 @RaananW Thank you for your help :), I eventually expanded the volume of the outer skybox, add the ground to the renderList,and increased the diffuseTexture's level of ground'material, while the black edges still look a bit serious <_<, but I tactfully set alpha to water, which made him look not so bad.
image.png.4868cb5570a163ed0efb397920476a29.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.