Code Samples

banner for code samples showing glsl code by robert lindner

On this page you can download various samples of code I wrote.


C++, C#, GLSL, HLSL, Unity, OpenGL


Maze Generator - Complete Program


C++, OpenGL

The next two samples are from my Pathtracer. The topics I programmed are interesting, but the code is not very clean.

I wrote it before knowing a lot about c++ coding standards or the standard library.

Diffuse BRDF - cpu pathtracing


Ray Mesh intersection - with vertex interpolation