Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
arealights: Add readme and screeshot
Signed-off-by: Squareys <squareys@googlemail.com>
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
This example is a basic implementation of Eric Heitz et. al paper ["Real-Time Polygonal-Light Shading with Linearly Transformed Cosines"](https://eheitzresearch.wordpress.com/415-2/). | ||
It displays an untextured rectangular area light and a ground plane. | ||
|
||
![AreaLights](arealights.png) | ||
|
||
Key shortcuts | ||
------------- | ||
|
||
W - Move camera forward. | ||
|
||
S - Move camera backward. | ||
|
||
Left drag - Look around. | ||
|
||
(Shift+)R - (De-/)increase roughness of plane | ||
|
||
(Shift+)M - (De-/)increase metalness of plane | ||
|
||
(Shift+)F - (De-/)increase f0 of plane | ||
|
||
F5 - Reload shaders. |