Home

Awesome

PathTracer

This repository contains basic path tracer implementation in GLSL shaders. Oriented boxes and spheres are supported, all objects are set in the beggining of shader code. All objects can diffuse, emit, reflect or refract light. For better results you can increase MAX_DEPTH and uSamples parameters in shader code.

If you are interested in underlying algorithms of this path tracer, you can read my article on Habr (RUS)

This project depends on MxEngine 3D engine. To build it, follow instructions described in MxEngine template project. If you have some trobles with building or running it, feel free to create an issue here or on MxEngine's issue page.

<p align="center"> <img src="preview.png"> </p>