Closed sourcerose closed 3 years ago
Hi, this looks great but I think it would be better to add it to noa-examples/test
than to the core engine. The reason being that fog behavior isn't directly affected by voxels, so if different games want to handle fog in various ways then noa
doesn't really need to know about that.
However it would be good to have this in the examples repo, so that it's easy to test whether noa is working correctly with fog, and also so that other users have a reference for how to add fog to their game.
What do you think?
Should I make a PR in the examples repo?
That would be great, perhaps as noa-examples/src/test/fog.js
or similar, as a single module people can reference.
Ok, I submitted a PR
Sorry, this is the third PR haha! This is just a proof of concept. Not really Necesessary to add in, but would be a nice touch in my opinion.