Making a tree that actually looks good (how to convert a shader from Three.js to Babylon)

Hey all, for fun I was digging into how to make a tree that actually looks good in Babylon, and ended up making a nice tree shader.

I did a little dev log writeup on the process in case anyone finds it useful: Converting a Shader from Three.js to Babylon.js - Thomas Burgess

ezgif.com-video-to-gif-converted

And please let me know if I got any of the details wrong!

EDIT: Here’s the playground: https://playground.babylonjs.com/#XTNXFT#2

11 Likes

Really awesome work! I will create a playground later. So we can all test it

2 Likes

Oh good idea, I should have done that. Will do it after work if you don’t beat me to it. Thanks!

1 Like

Here’s the playground: https://playground.babylonjs.com/#XTNXFT#2

3 Likes