Phazorknight / Cogito

Immersive Sim Template Project for GODOT 4
MIT License
717 stars 81 forks source link

Basic light detection #124

Closed Nutcrawler closed 2 months ago

Nutcrawler commented 4 months ago

Added simple camera rendering a light-only debug draw, and set the visibility attribute based on the luminance of the texture

Phazorknight commented 4 months ago

Hi, thanks for this! Took me a moment to understand what you're doing. I think this is a decent way to get a more accurate light-level of where the player is at, but it's also very hard to control the value. Still, could be pretty useful for some!

For me to commit this into main, I'd request the following changes:

Thanks!