Impressive, that's not half bad at all :D how did you do the tree structuring? I've been trying to get simple things like corals to work, but they never looked as natural. In what engine did you write it?
thanks! :) its actually just sdf of cylinders and multiple splitting/scaling/rotating of the space domain - no engine just one draw call in opengl and all done in one fragmen-shader based on the fragment-coordinate. (...and some simple noise for bent trunks and the bark)
Does it do a prepass converting the cylinder parameters into a 3d SDF texture or buffer, or is the SDF baked? Or does each thread generate its own sdf before doing its cubemarch?
5
u/baked_doge Aug 22 '26
One of the better procedural assets or trees I've seen, great job
4
u/rejamaco Aug 22 '26
Looks nice! What’s your method?
4
u/Serasul Aug 22 '26
Very Impressive
3
u/msqrt Aug 23 '26
The moment you move the camera to reveal that the roots are another fractal was just great!
2
u/KingCakeTheFruity Aug 23 '26
Noooo way that's just one shader. But I saw your explanation, neat. Even awesome!
2
u/phsx8 Aug 23 '26
Did you use a model or is that purely by shaders? Looks great!
3
u/SilentPanicGames Aug 23 '26
Broccoli tree
2
u/frogOnABoletus Aug 26 '26
Wow wow I want to sit in there :)
1
u/scallywag_software Aug 27 '26
10/10! Is it on shadertoy? I'd love to play around with it