This is raymarching so you would have to understand how sample the surrounding scene to get the reflection data and then do the diamond in a depth sorted post pass or as a custom shader on a inverted box.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How could i port this babylon js shader? | 16 | 1705 | September 28, 2020 | |
| Shader Talk - Conversations on GLSL | 122 | 8483 | July 13, 2023 | |
| Ring pulse procedural texture example | 4 | 119 | August 22, 2024 | |
| Porting example by ChatGPT (Porting from xeogl to Babylon.js) | 7 | 989 | May 26, 2023 | |
| All diamond related stuff I created | 2 | 485 | March 15, 2024 |