Check a point in space to see how well something is lit #14244
Unanswered
neildanson
asked this question in
Q&A
Replies: 1 comment
-
Obviously I could do something much rougher, by casting rays to lights and trying to simulate what is happening inside the renderer - but if theres a way to extract that which is already calculated then that would be better! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How would one go about querying the scene to determine how well lit a point in space is? For example, if I wanted to take advantage of all the Bevy rendering goodness, and wanted to build something where a player was to stay in the darker areas to avoid detection. I'd rather not bake this information in as I'd like to have dynamic lights.
A look through the various components, traits, etc the name
LightProbe
jumped out, but this seems to be used for getting more information into the renderer than getting information out of the scenegraph.Is there any way to do something like this in Bevy?
Beta Was this translation helpful? Give feedback.
All reactions