0 votes

So I have been making this small fog of war effect for a roguelike that I've been making and one of the biggest issues has been making sure it doesn't remove the fog shader if the cell is behind a wall. I figured I would use 16 rays cast out to determine if there were any obstacles that light shouldn't be able to pass through. That aspect worked like a charm. I'm wondering if anyone has any ideas as to how I could use that information to clear a circle like area?

Thanks for the help,

in Engine by (92 points)

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.