-
Content Count
9 -
Joined
-
Last visited
About Dong
-
Rank
Newbie
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
How can I use webgl2 API such as Deferred Shading.
Dong replied to Dong's topic in Questions & Answers
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.- 3 replies
-
- deferred shading
- mrt
-
(and 1 more)
Tagged with:
-
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 replies
-
- deferred shading
- mrt
-
(and 1 more)
Tagged with:
-
-
-
@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
- 7 replies
-
- light
- simultaneous
-
(and 1 more)
Tagged with:
-
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
- 7 replies
-
- light
- simultaneous
-
(and 1 more)
Tagged with:
-
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?
- 7 replies
-
- light
- simultaneous
-
(and 1 more)
Tagged with:
-
-
@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.
-
Dong changed their profile photo
-
-
Dong started following waterMaterial
-
Dong started following renjianfeng
-
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]