A realtime ray tracer using GLSL
- OpenGL2.0+
- glut
- libpng
make && ./build/RayShader
- To go into Path Tracing mode (top screenshot) press q then 6
- Mouse drag - change camera angle
- Mouse right drag - change ball position
- Scrollwheel - zoom
- [1-5] - change scene
- Z - create water ripple
- V - create vortex (positioned under ball)
- W - toggle water
- E - toggle objects
- R - toggle whether one sphere is refractive (applies only to scene 1 and 3)
- ] / [ - increase/decrease shadow samples
- P - reset shadow samples to 0
- L - toggle environment
- A / S / D - Switch rendering mode (S is back to RayShading)