Open Sunconure11 opened 7 years ago
Puddles would be difficult. Seems to me they would be some sort of special water block that forms as it rains and decays when it stops raining.
Rainbows I have looked at off and on. I have to understand the physics of those guys a bit more and figure out a good way to render. If it is something I can figure out I plan on adding.
If it helps, here's a simple set of rules for rainbows:
I'd also not show them if the sun is low in the sky to prevent them being to high up. The main problem I see will be accounting for the altitude of the player. There is more to them IRL, but I don't think that would add much to the game. I hope this simplifies rainbows for you?
What I have found out, and it is pretty simple conceptually, is:
As a result a rainbow is more likely to be seen early in the AM or late in the PM if there is water vapor. It will not be visible if it where something like high noon.
Yes, that is correct, those 42 degrees are the 'quarter sky' I mentioned, so it is not the center of the rainbow but the arc (unless I misunderstood you). I also think the location of the water vapour is irrelevant (code wise) since Steve is located at the center of the world, so the line sun-Steve-rainbow is simplest and accurate enough. And you are right, the best rainbows can be seen when the sun is -sort of- in parrallel with the ground so to speak.
Would it be possible to add puddles of water that appear during storms, and slowly dissipate as the rain ends? Puddle size could be determined by the intensity of the storm.
Also, what about rainbows? Randomized chance of them appearing after a storm, or rarely, during a sunny day.