Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gro-ove committed Jun 12, 2022
1 parent 220383c commit a391fc4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
## AO bakery for Assetto Corsa

This is a CUDA-accelerated ambient occlusion bakery for racing simulator Assetto Corsa with Custom Shaders Patch, supporting tracks and cars. Made possible with NVIDIA OptiX Prime, forked from [this project](https://github.com/nvpro-samples/optix_prime_baking).
This is a CUDA-accelerated ambient occlusion bakery for racing simulator Assetto Corsa with Custom Shaders Patch, supporting tracks and cars. Made possible with NVIDIA OptiX, forked from [this project](https://github.com/nvpro-samples/optix_prime_baking).

[![Model by Kunos](https://i.imgur.com/pzCpqUV.jpg)](https://i.imgur.com/pzCpqUV.jpg)

## Features

- Tracks:

- Both KN5 and INI files are supported as inputs;
- Special trees baking (without self-occlusion, with normals facing up);
- Special grass baking (without any shadows from grass, with normals facing up);
- Optional trees transparency factor;
- Skips dynamic objects to shadow them dynamically later on;
- Baking of extra samples along the track for occlusion for dynamic objects;
- Rebaking of overly darken areas with increased number of rays per triangle.

- Cars:

Expand All @@ -25,17 +27,18 @@ This is a CUDA-accelerated ambient occlusion bakery for racing simulator Assetto
- Raising ambient brightness to compensate for new AO;
- Extra pass for adding a bit of light “bounced” from the ground;

- Takes into account light bounces to keep AO brighter;
- Alter brightness, opacity and gamma for resulting AO;
- Adjust AO per-object if necessary;
- Adjust sampling offsets per-object to get rid of arifacts in complicated cases.

## Tips

- Various options could be changed in `baked_shadow_params.ini`;
- To run it on CPU, set `CPU_ONLY = 1`, although at least on my PC with GTX 1060 it runs about
100 times faster with hardware acceleration (2.5 s vs 4 min for main pass).
- NVIDIA GPU is required;
- Works much faster on RTX GPUs, but can also use older NVIDIA GPUs with CUDA, although works a lot slower with those (disable light bounces to improve the speed).

## Credits

- Project based on [Optix Prime baking](https://github.com/nvpro-samples/optix_prime_baking);
- Powered by NVIDIA Optix Prime.
- Powered by NVIDIA Optix.

0 comments on commit a391fc4

Please sign in to comment.