Jump to content

waterMaterial


Dong
 Share

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]

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

Link to comment
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

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