Thema Posted May 9, 2017 Share Posted May 9, 2017 Hello, I'm trying to render a crystal clear plastic object with really bad results. I need the render to be realistic and close as possible to the real one (see attached pics). Any suggestion or examples? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 9, 2017 Share Posted May 9, 2017 Hey did you check the PBR: http://doc.babylonjs.com/overviews/physically_based_rendering you can do pretty realistic rendering with it Quote Link to comment Share on other sites More sharing options...
Thema Posted May 9, 2017 Author Share Posted May 9, 2017 Hello, Thanks for the quick answer! Yes I did, but I'm not able to create the same effect as the real object and I didn't find the answer online. Quote Link to comment Share on other sites More sharing options...
Wingnut Posted May 11, 2017 Share Posted May 11, 2017 Hi Thema, welcome to the forum! I did a little playing... http://www.babylonjs-playground.com/#PRRBS#4 There's lots of knobs to play-with, in there. Make adjustments, press RUN over and over, make more saves, grab zips, you can't hurt anything in the playground. I have put comments near some of the places-to-play. There is a little func in there... called adjuster(). It does interesting changes to the reflection image (possibly correcting some things that happened during the sphere scaling/flattening). You can turn ON/OFF adjuster() at line 44. I disabled the skybox, because it was difficult to carefully the reflectionTexture. I could see the skybox THRU the mesh. (Too many images being painted on sphere.) So, I decided to use a solid black scene.clearColor... for testing purposes. This might be a fun thing to play-with. I had fun playing with it. kbyeee. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.