Crates.io | skylights |
lib.rs | skylights |
version | 0.1.2 |
source | src |
created_at | 2023-09-21 10:36:46.649826 |
updated_at | 2023-09-22 17:19:16.372786 |
description | Skylights is a command line tool to bake radiance and irradiance maps for image based lighting |
homepage | |
repository | |
max_upload_size | |
id | 979311 |
size | 148,071 |
Skylights is a command line tool to bake radiance and irradiance maps for image based lighting.
It converts an input environment map in equirectangular format into 3 cubemaps:
Usage: skylights [OPTIONS] [input-image]
Arguments:
[input-image] Environment map to process
Options:
-x <cubemap-side> Side of the output cubemaps in pixels [default: 1024]
-f <pixel-format> Output cubemaps pixel format [default: rgba16f] [possible values: rgba32f, rgba16f]
-e <encoding> Output cubemaps image encoding [default: ktx2] [possible values: ktx1, ktx2, dds, png]
-n <num-samples> Number of samples per pixel when calculating radiance and irradiance maps [default: 128]
-m <strength> Scales the final baked value in the radiance and irradiance maps [default: 1]
-c <contrast> Corrects the contrast of the final color [default: 1]
-b <brightness> Corrects the brightness of the final color [default: 1]
-s <saturation> Corrects the saturation of the final color 0: grayscale and 1: original color [default: 1]
-u <hue> Corrects the hue of the final color in degrees. [possible values: 0..360] [default: 0]
-l, --lut Computes GGX LUT
-h, --help Print help
skylights --help
shows a help screen.cargo install skylights
skylights --help
shows a help screen.git clone https://github.com/arturoc/skylights
--
):cd skylights
cargo run --profile=debug-optimized -- --help
Skylights is sponsored by novorender