Fast fake diamonds demo - finally looking cool - part 4

Hello!
Here it is :diamond_shape_with_a_dot_inside:

The GUI was created in Quasar so it is quite good example how to use Vue/Quasar/BabylonJS together.

NME:
EDIT3: https://nme.babylonjs.com/#KIUSWC#67

GitHub:
https://github.com/RolandCsibrei/babylonjs-diamond-shaders.git

The shader is based on this Unity shader:

I am pretty sure I’ve missed something, so you can guys try to make it better.

It is released under Creative Commons Attribution-ShareAlike 3.0 license, so please just leave a little note about the author if you use it, it may help me in the future to have a good job (the current one is good aswell :stuck_out_tongue: - boss alert)

Thaaanks!

R.

EDIT: There is already a working copy of the NME with some stuff corrected: https://nme.babylonjs.com/#J3ZDKQ#2, but I don’t plan to continue to make it better in the incoming days/weeks, but feel free to.

EDIT2: OMG, I’ve just spotted, that I lost my reflections and refractions blocks… I will put them back shortly.

4 Likes