About Diamond Shader issues

I add one custom shader from internet for my diamond model to give effect of real diamond , it’s not work as i want , when i render it first it’s a bit laggy and the main issue that it’s not reflect as i want and there is so much aliasing edges in the diamond faces. I also use the aliasing still i get this much aliasing as image.

if any one have any idea so pls suggest

1 Like

Maybe its your IOR, or your envmap, you are calculating to many refractions for your PC too handle, you haven’t provided enough clues.

Anyway, here are some diamond experiments I did, they all use the MeshRefractionMaterial by R3F Drei.

2 Likes

Hey, Thanks for your Reply, I know about the MeshRefractionMaterial from drei , but i’m render the model using vanilla threejs , that why i need to add the shaderMaterial for the diamond meshes in my model with some custom Shader , and i’m a newbie in threejs so i don’t know how to do it !!

By the way , i’m surely see your suggestions and try to render model in R3F instead of vanilla threejs.