Jump to content

Render Clear Plastic


Thema
 Share

Recommended Posts

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?

frame.png

frame.jpg

Link to comment
Share on other sites

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.

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