Dong

Members
  • Content Count

    9
  • Joined

  • Last visited

1 Follower

About Dong

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Yeah,My confusion is how do I migrate a program I wrote in webgl2 to BABYLON, like deferred shadding based on MRT or something. I can't find a way to use it in the document, like I want to create a frame buffer, send it to the shader through drawBuffer, and then output it to a different texture object.
  2. I need to use some of the features of webgl2.0 (http://doc.babylonjs.com/features/webgl2) in some businesses,such as deferred shadding. but it says "In Babylon.js, our first use of this technique is to render a geometry buffer of the scene." in the document#Multiple Render Target. I still don't know how I should code,can I just use API from https://developer.mozilla.org/zh-CN/docs/Web/API/WebGL2RenderingContext/drawBuffers ??? I would like to have a documentation to help me ! thannnnnnnks
  3. @Deltakosh When material.maxSimultaneousLights more than 10 , the shader will report an error as shown @V!nc3r Thank you for your response, but it helps with performance only, there is always a number bottleneck of 10. I can't. I'll create another fake billBoard at the bottom of each pole
  4. but the "excludeMeshes,includedOnlyMeshes" for light is also max to 10,when my lights more than 10,how can i decide which mesh will be lighted,and How did it look as though he was illuminated by real light
  5. In my business, I want to show the lighting effect as shown in the picture.Unfortunately, at present the material can only accept 10 lights max(I need more than 50). I can set the glowLayer and the billBoard to simulate halo effect. but i cant't simulate the materials effected by the true light,especially the water... can anyone help me?
  6. Dong

    waterMaterial

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

    waterMaterial

    wow! scene.clearColor really work... but what was originally black is now clearColor, I really want to it look like water from any angle
  8. Dong

    waterMaterial

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

    waterMaterial

    I love BABYLON , 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]