Skip to content

Commit

Permalink
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
Squareys committed Jul 15, 2017
1 parent 06347a0 commit ceedafb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Binary file added src/animation/animation.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/arealights/README.md
@@ -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.

0 comments on commit ceedafb

Please sign in to comment.