Home › Forums › General Questions › IOR problem
- This topic has 6 replies, 2 voices, and was last updated 3 years, 1 month ago by xeon.
-
AuthorPosts
-
2021-09-27 at 4:59 pm #45351gee_lau2000Customer
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!!
GeeAttachments:
You must be logged in to view attached files.2021-09-27 at 11:49 pm #45361xeonCustomerYou 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 - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2021-09-28 at 2:24 am #45365gee_lau2000CustomerHi Xeon,
Thanks for your advises and seems I got sths from your words .
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
2021-09-28 at 2:43 am #45366xeonCustomerThe 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 - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2021-09-28 at 7:39 am #45371gee_lau2000CustomerHi 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.2021-10-07 at 12:36 am #45975xeonCustomerNow 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 - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2021-10-07 at 1:11 am #45976xeonCustomerHere 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 - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com -
AuthorPosts
- You must be logged in to reply to this topic.