- Status: open --> merged
Original repository by eatdirt is deleted
The first commit of this patch fixes a spurious red cut appearing on sunset and sunrise onto the reddish specular light reflected over the oceans. It consists on avoiding normalising raw rgb map (which has the side effect of modifying the direction of the normal vector it encodes), plus, allowing the dot product of the normal vector and the light direction to be null thereby preventing the shader to perform a hard cut.
The second commit is an improvement of the earthview textures (clouds, world, normalmaps) preventing a seem to appear at the tile's boundary (each tiles now contain a little edge from neighboring tiles). An alpha channel encoding the inverse altitude has been added to the normalmaps which allows the earthview fragment shader to render parallax. Before, the whole textures set occupies 49MB, after that commit it takes 52MB. I would say no pain no gain, and the pain is very small :)