A tiny example to show how to render allsky projections using wgpu-rs. Allsky projections are used in many ways to represented the earth/sky. This method does the projection per-pixel and runs in realtime.
Supported projections are:
See this link for information about map projections.
If you want more precision about the algorithm and techniques used:
Play with the left and right keys to change the current projection.
# Clone the repo
$ git clone https://github.com/bmatthieu3/wgpu-sky-rendering.git
$ cd wgpu-sky-rendering
# Compile
$ cargo build --release
# Run
$ cargo run --release