We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

IOR problem

Home Forums General Questions IOR problem

  • This topic has 6 replies, 2 voices, and was last updated 3 weeks ago by xeon.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #45351
    gee_lau2000
    Customer

    Hi,
    I’m new in Verge3D.
    Now I’m testing the glass material to see if it can be rendered correctly at browser but I found no way to show the IOR correctly…anyone can help me to solve this issues…..I’d tried many kind of glass materials but no idea for how to tweak to the correct setting…..

    Thanks!!
    Gee

    Attachments:
    You must be logged in to view attached files.
    #45361
    xeon
    Customer

    You will find this to be very challenging to replicate in verge3 if you are trying to make it resemble a true IOR done via ray tracing.

    I have spent a lot of time with glass shader networks for various objects and scenes and find that to get the best replication requires an artistic eye, clever modeling and some custom shaders.

    I do not use the post process effect as it just slows down everything but under the right situation it could be useful.

    If anyone has a one set solution for all situations, I hope you will put me and others out of our misery and share the secrets.

    Xeon
    Route 66 Digital
    Interactive Solutions

    #45365
    gee_lau2000
    Customer

    Hi Xeon,

    Thanks for your advises and seems I got sths from your words :yes: .
    On the other hand, unfortunately I even no idea if this kind of result is good enough or not with Verge3D…..just want to know if there are some “general” way to make glass (or the IOR value) likely….

    Gee

    #45366
    xeon
    Customer

    The scooter demo has some glass shaders that work well as starting points as well as the verge 3D material library. It will get you started and you can tweak from there.

    Xeon
    Route 66 Digital
    Interactive Solutions

    #45371
    gee_lau2000
    Customer

    Hi Xeon

    I’d already tweaking that node but can not find a good way to achieve what i want…..anyway, thanks for keeping give me advise!!

    Gee

    Attachments:
    You must be logged in to view attached files.
    #45975
    xeon
    Customer

    Now that you got this far…. open up the Post-Process Screen Space Reflection puzzle and switch it over to Screen Space Refraction.
    And give that a whirl should let you get much closer.

    Xeon
    Route 66 Digital
    Interactive Solutions

    #45976
    xeon
    Customer

    Here is a crude test…but it illustrates what can achieve. I didn’t spend any time making it look pretty just showing you can get some refraction if needed.

    Attachments:
    You must be logged in to view attached files.

    Xeon
    Route 66 Digital
    Interactive Solutions

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.