Skip to content

Commit

Permalink
Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
entropylost committed Oct 17, 2024
1 parent 507d0f4 commit 96cc6cf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "amida"
version = "1.2.0"
version = "1.2.1"
edition = "2021"
default-run = "amida"

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Amida: 2D Lighting using Radiance Cascades

This program implements 2d lighting using the [radiance cascades](https://radiance-cascades.com/) algorithm by Alexander Sannikov, using the bilinear fix to prevent ringing. It also supports multiple bounces using subsurface scattering and volumetrics.
This program implements 2d lighting using the [Radiance Cascades](https://radiance-cascades.com/) algorithm by Alexander Sannikov, using the bilinear fix to prevent ringing. It also supports multiple bounces using subsurface scattering and volumetrics.

## Usage

Note: This program requires a NVIDIA graphics card due to using CUDA.

Download the [latest release](https://github.com/entropylost/amida/releases/), or compile the program yourself by installing [Rust](https://www.rust-lang.org/), and executing `cargo run`, then call the program:

```
Expand Down
4 changes: 2 additions & 2 deletions src/bin/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ use std::f32::consts::TAU;

fn skylight(angle: f32) -> FVec3 {
// Default:
// let sky_color = FVec3::new(0.3, 0.7, 1.0) * 4.0;
// let sun_color = FVec3::new(1.0, 1.0, 0.8) * 10.0;
let sky_color = FVec3::new(0.3, 0.7, 1.0) * 4.0;
let sun_color = FVec3::new(1.0, 1.0, 0.8) * 10.0;
// Sunset:
// let sky_color = FVec3::new(0.2, 0.15, 0.4) * 2.0;
// let sun_color = FVec3::new(1.0, 0.3, 0.1) * 3.0;
Expand Down

0 comments on commit 96cc6cf

Please sign in to comment.