roland
August 16, 2021, 8:15am
1
Hi folks!
Fakes round #2 is here. Added transparency, some fake diamond textures, Fresnel, and some more stuff. No environment reflections yet.
PBRMaterial (not NodeMaterial) based Fakes #3 with environment reflections coming next…
Part #1: Fast fake diamonds demo - part 1
https://playground.babylonjs.com/#9EFWZK#4
Max diamonds in the scene and the the spawn period:
You can use any mesh you want. Change the url and the name of your mesh in the model.
And you can play with the colors and the opacity:
EDIT: I’ve spotted some issue with the reflections, the newly spawned diamonds after a while have no reflections, but anyway, enjoy…
R.
3 Likes
Awesome!!
I changed the impostor to MeshImpostor for even more realistic shiny wealth on screen
Babylon.js Playground (babylonjs.com)
1 Like
roland
August 16, 2021, 3:16pm
3
Thanks!
At first I used the MeshImpostor, but I had to change it to Sphere after I was playing with too many diamonds on screen and I just forgot to put it back when I introduced the maxDiamonds parameter
2 Likes
musk
August 17, 2021, 4:02am
4
Translucency combined with caustics is really fascinating. With a little bloom effect, I feel like I have become a rich man
2 Likes
vlayd16
November 6, 2024, 11:39am
5
Hi, is it possible to reupload glb’s? Rn they’re broken
roland
November 6, 2024, 12:49pm
6
Hello!
Please refer to this page:
This page contains all I still had available and could reupload.