This PR fixes an issue with the elevation color on our points material. The elevation (z component of the position attribute) was not projected in the world space, and used in a gradient where min and max were in world space.
Two pictures are worth a thousand words (before/after this PR):
Before contributing
Read CONTRIBUTING.md and CODING.md to apply
iTowns
conventions on PRs, Git history and code.Description
This PR fixes an issue with the elevation color on our points material. The elevation (z component of the
position
attribute) was not projected in the world space, and used in a gradient wheremin
andmax
were in world space. Two pictures are worth a thousand words (before/after this PR):