karimnaaji / hdreffects

High dynamic range rendering, with lens flare approximation and bloom

Home Page:http://karim.naaji.fr/high_dynamic_range_effects.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

high dynamic range effects

dependencies

This project uses cmake, glfw, and rgbe (library developed by Greg Ward), it has been developed using OpenGL 3.2 and GLSL 1.5.

mac osx

Download and install CMake if you don't already have it. To simplify installation you may use Homebrew:

brew install cmake

linux (ubuntu)

sudo apt-get install cmake

build and run

cd build
cmake .. && make
./hdr.out

usage

While running, use the following keys to move around and modify render parameters:

  • mouse : look around
  • Z : move forward
  • S : move backward
  • D : move right
  • Q : move left
  • B : activate/desactivate bloom effect
  • T : activate/desactivate tone mapping effect
  • L : activate/desactivate lens flare effect
  • R : activate/desactivate cubic lens distortion
  • X : activate/desactivate noise added to the bloom effect
  • N : increase bright threshold associated to both lens flare and bloom effect
  • J : decrease bright threshold
  • V : increase bloom factor
  • G : decrease bloom factor
  • C : increase the number of blur pass associated to the bloom effect
  • F : decrease the number of blur pass associated to the bloom effect

results

example

About

High dynamic range rendering, with lens flare approximation and bloom

http://karim.naaji.fr/high_dynamic_range_effects.html

License:MIT License


Languages

Language:C++ 37.9%Language:C 29.4%Language:HTML 28.9%Language:Objective-C 1.6%Language:JavaScript 0.8%Language:CMake 0.6%Language:CSS 0.5%Language:GLSL 0.2%Language:M 0.1%Language:Shell 0.0%