0 votes

Hello,
i got a solar system scene and i'm looking for a way to illuminate it in a "realistic way", meaning each planet will be illuminated on the side facing the sun.
The planets are farther away than both the Omnilight and Spotlight ranges, so they do not work.

I was hoping to assign one directional light to each planet, but i cannot find a way to make one light affect a single mesh only, it seems the cull mask is not working properly and every directional light illuminates every planet (each planet will be illuminated from 8 different direction)

I'm stuck here, any suggestion on how to solve this problem?

Godot version 3.2.3
in Engine by (1,436 points)

It is discussed here https://github.com/godotengine/godot/issues/19438 but unfortunately I don't have any solution. I just ran into the issue myself.

yeah, i found that github post myself, i was hoping somebody else in the forum found a way around the issue to make it work, i guess i have to way godot4

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.