I'd like to suggest a slightly different approach, and the reasoning behind it.
IMHO, I don't think these shapes really work as a 3D star. They're just too wonky and don't look quite right. I mean you could argue they're highly stylized, but they're still wonky.
From your comments, I understand this was output from some AI art generator, and that explains why it doesn't look quite right. It's definitely a problem with current AI technology. Sure you often get something that looks kind of nice, but when you examine it, there's always something not quite right in the detail that needs to be fixed. There are much better ways to draw a star that looks 3D.
Of course if you like them, then that's absolutely fine, and this is merely my opinion. Feel free to disagree. But to me, the wonkiness looks like it's AI generated. It has that feel to it.
Anyway . . .
Just for you, since you're new, here's the SVG file for the example below so you can examine how this was constructed. I used Inkscape for this but it should open in Illustrator, and of course it's entirely possible to make something like this in Illustrator too.
I basically created this with a star shape, drew lines to the centre, used the shape builder tool to make the pieces, then added a bit of perspective distortion, and finally added some gradients to make it look a bit smoother.
Here's the original and result side by side
If you don't like the straight edges it would also be possible to do this using some curves for added stylization.
A rough example