How do i create Camera Based Lighting?

Godot Version

4.2.1

Question

want to implement a camera based lighting system in 3D, so i dont have place lights everywhere, but the camera itself is the light, i already tried to search for answer or ask chatgpt but got no answer is something like this possible, sorry if this question sound dumb, im new to programming and game creation.

Here is some documentation on spot lights

The easiest way is to put an OmniLight3D or a SpotLight3D as a child of your Camera3D node. If its local position is (0, 0, 0), then it’ll be at the same position as the camera.

2 Likes

I mean, literally attach a light as a child to the camera node

1 Like

thank you

thank you.

Sure thing.