You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is exactly something I've been thinking about/looking for so that, when I add a sun, I can have 2D objects be illuminated in space by the sun. Your ship and the outer planets should be noticeably darker as you get further from the sun too.
Might that crate by overkill for my game's needs? The illumination effects look to be pretty impressive.
We'll see. We're in a hacking it together, optimising later sort of phase right now.
Also, I don't yet know how to implement shaders, so no idea how to implement anything like this myself.
Found in discussion here: bevyengine/bevy#4756 <- There's more details there about how to DIY something like this in Bevy too.
The text was updated successfully, but these errors were encountered:
Out of curiosity was searching a little. Found: https://github.com/zaycev/bevy-magic-light-2d Amazing amount of interest for a crate less than a year old.
This is exactly something I've been thinking about/looking for so that, when I add a sun, I can have 2D objects be illuminated in space by the sun. Your ship and the outer planets should be noticeably darker as you get further from the sun too.
Might that crate by overkill for my game's needs? The illumination effects look to be pretty impressive.
We'll see. We're in a hacking it together, optimising later sort of phase right now.
Also, I don't yet know how to implement shaders, so no idea how to implement anything like this myself.
Found in discussion here: bevyengine/bevy#4756 <- There's more details there about how to DIY something like this in Bevy too.
The text was updated successfully, but these errors were encountered: