How do I ONLY cast shadows from light sources?

I am using future lighting, and I want to make a part that DOESN’T cast a shadow from the SUN, but only from LIGHT SOURCES.

And also preferably an invisible part?

Please explain why you’d like this so we can help you better. There may be other options if you give us more detailed information.

Are you trying to make indoor lighting different than outdoor lighting?

No. I’m just on the verge of literal ground-breaking decal projection and uhh, what other information do you need?

Edit: There is no other way, as I am doing a very specific process, and I don’t think anyone has done this before, so I don’t think there’s any other way.

As far as I am concerned, there is no way of doing this. I can only think of a workaround which would be having your game’s day be nighttime so shadows are not cast by celestial bodies. You could then trick the players into thinking it is daytime by using a light skybox, changing the moon’s icon by that of the sun and probably modifying ambience. Now, you would loose SunRays .

2 Likes