# Refraction for Jewelry rendering

**URL:** <https://forum.babylonjs.com/t/refraction-for-jewelry-rendering/25446>\
**Category:** Questions\
**Created:** [November 20, 2021, 2:03am UTC](https://forum.babylonjs.com/t/refraction-for-jewelry-rendering/25446 "2021-11-20T02:03:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anupam\_Das](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/anupam_das/32/16709_2.png) [@Anupam\_Das](https://forum.babylonjs.com/u/Anupam_Das)\
**Post date:** [November 20, 2021, 2:03am UTC](https://forum.babylonjs.com/t/refraction-for-jewelry-rendering/25446/1 "2021-11-20T02:03:04Z")

</div>

I am trying to render a simple diamond gem with some nice faceted patterns as you would expect.  
I suspect there are some content based modeling tricks here (apart from making sure you set up your Ior and subsurface min/max depths…etc . I realize we are not raytracing here but wondering if there are approaches people have used with success. (duplicating the gem, inverting normals, adding additional faceted geometry to “fake” refracted detail…etc) I tried turning backface culling off which helped. but I suspect some here have tried several other tricks…

This is by far the best real-time refraction I have seen.  
[https://www.pixotronics.com/ijewel.html](https://www.pixotronics.com/ijewel.html)

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [November 20, 2021, 2:10am UTC](https://forum.babylonjs.com/t/refraction-for-jewelry-rendering/25446/2 "2021-11-20T02:10:29Z")

</div>

Search for **diamond** in this forum and you will find a lot of material about this topic!

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [November 20, 2021, 7:45am UTC](https://forum.babylonjs.com/t/refraction-for-jewelry-rendering/25446/3 "2021-11-20T07:45:28Z")

</div>

Extremely nice 🙂  
pinging @roland

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/d/6/d6c53ec7f6cdb22109b648906c965b52d10f9911.jpeg)

> **[GitHub - RolandCsibrei/babylonjs-diamond-ring](https://github.com/RolandCsibrei/babylonjs-diamond-ring)**
>
> Contribute to RolandCsibrei/babylonjs-diamond-ring development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [November 20, 2021, 7:55am UTC](https://forum.babylonjs.com/t/refraction-for-jewelry-rendering/25446/4 "2021-11-20T07:55:17Z")

</div>

Thanks 🙂

@Anupam_Das I have a few different diamond rendering approaches. Ping me if you need help beyond the repo @labris has already shared with you.
