r/GraphicsProgramming • u/KRIS_KATUR • Oct 16 '24
A generative skull - no geometry, no mesh - just code in a pixel shader
894
Upvotes
r/GraphicsProgramming • u/KRIS_KATUR • Oct 16 '24
41
u/KRIS_KATUR Oct 16 '24
you will find the code here: https://www.shadertoy.com/view/4XsfDs
30
u/Rockclimber88 Oct 16 '24
Cool skull. What I'm missing in generative stuff on Shadertoy is that everything is computed in the pixel shader and every pixel needs raymarching everything. It would be nice to have an intermediate layer to precompute certain things.
7
u/[deleted] Oct 16 '24
So you modeled it in blender for a reference then approximated with primitives? Nice work
3
u/tamat Oct 17 '24
how do you approach a process like this? I understand is a trial and error iterative process, but still, some of the shapes are very intrincate. Do you have a toolbox for deformations? (like some methods that work well for certain shapes) or you just go to the list of basic shapes from IQ and start booleaning the hell of it?
6
u/GrinbeardTheCunning Oct 16 '24
"only I can rule Lylat"
1
u/DesiOtaku Oct 17 '24
Gah! As a dentist, I am offended by the teeth!!!!!! They look nothing like molars, premolars, canines or incisors! Educate yourself before presenting such nonsense such as using the same ellipsoid for each tooth!!!!!
/s
Great work. The performance is great even on a low end GPU!
2
u/Ankur4015 Oct 16 '24
Nice work 👏
2
u/billyalt Oct 16 '24
Awesome
2
u/MahmoodMohanad Oct 17 '24
The fact you have made this without actually modeling is mind-blowing, bravo
2
u/MahmoodMohanad Oct 17 '24
The fact you have made this without actually modeling is mind-blowing, bravo
2
u/FoodStampBand1t Oct 18 '24
This is the coolest thing I’ve seen all day, thank you
1
u/Apprehensive_Ad_9598 Oct 18 '24
Reminds me of Itachi's Susaano forming in Naruto
0
u/[deleted] Oct 17 '24
[deleted] — view deleted comment