0 votes

Hi,

Is it possible to do a projected texture or mask a spotlight so only a pattern of light is projected onto other surfaces?

I'm trying to create a disco ball effect. My first and only idea was making a sphere with holes in it and putting a light inside it but honestly I don't know why I ever thought that would work

disco fail

in Engine by (204 points)

May be cheaper to fake it with meshes using semitransparent materials, like fake godrays.

1 Answer

0 votes

If you want shadow projected from inside, you may try with either flipped normals, or reverse shadow culling. I see no reason why a sphere with holes on it would not project shadow^^ maybe shadows don't work with double-sided materials, maybe you have to choose a side.

by (28,731 points)
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.