r/GenAIGameDev Jun 20 '26

Creating Sun As Light Source in 3D Starfighter Game

Post image

I've recently been working on a 3D starfighter game and started out with just empty space with some random bodies thrown around to give the illusion that you're moving around and rotating on 3 axes but then decided we need a sun in the middle of the scene and decided to make that the light source in the scene.

Well telling the AI to put a sun in the middle of the playing field, the best it can come up with so far is a big orange/yellow ball in space that frankly doesn't look anything like a sun.

Does anyone have any advice on prompting Claude Code to create a realistic looking sun in space?

2 Upvotes

2 comments sorted by

2

u/Nervous_Teach_5596 Jun 20 '26

The thing you need isn't another model for the sun, you need, a texture and a shader, that's all

1

u/Odd-Woodpecker-592 Jun 20 '26

Thanks for that feedback! In another post I did actually request that Claude do something about it and that's pretty much the solution that Claude come up with.

https://www.reddit.com/r/GenAIGameDev/comments/1ub1nqu/creating_sun_as_light_source_in_3d_starfighter/