ok so adding direct lighting to block game is going really well 馃ゲ
Post
ok so adding direct lighting to block game is going really well 馃ゲ
omg i'm an idiot. i had a separate list of sky colors and sun strength scalars for the terrain to do the day night cycle
then i realized i could just convert the colors to HSL, and set the sun strength scalar based on the min, current, and max brightness of the sky colors
so `sun = (cur - min) / (max - min);`
did that and it works great :|
ok so adding direct lighting to block game is going really well 馃ゲ
okay that's much better 馃槉 there's some light bleed that i need to fix but i think i might know what's causing that
either way this is a good stopping point for the day
fixed the light bleed issue
so basically block game has faux global illumination now. i realized minecraft style lighting is kinda like bounce lighting, so i figured if i added shadow mapped direct lighting it'd look sorta like GI and i think it turned out real good!
you can see that both methods separately lack something, but when combined the scene feels pretty grounded :D
and here's a gif that cycles through the three lighting styles
A space for Bonfire maintainers and contributors to communicate