Rajin. games & software. developer. Programmer. April 2019

1 week






Key Skills
  • Independent motivation
  • Graphics programming
  • Realtime GPU raytracing of reflective objects
  • Support for arbitrary rotation, scale, and translation of objects and cameras
  • Single texture encoding all scene data, built on top of default engine transform systems
  • Simultaneous views into the scene with various visualization shaders (depth, normals, no bounces, and multiple bounces)
  • Stylized shading model inspired by Mirror Drop
Tools Used
  • Godot (scene data management, scripting)
  • GLSL (raytracing shader)

This small demo project exploring stylized raytracing in the open source Godot engine was inspired by the game Mirror Drop and made over three days as a fun personal project.

Featuring realtime raytracing of a dynamic scene, the system developed uses engine transform data, encoded into a single texture, to render reflective spheres with respect to their scale, rotation, and translation. This allows for very easy integration of other engine functionality, such as physics and gameplay scripting, which behave exactly as they would for any other game, passing relevant data to the scene rendering shader.

You can even try out the demo in your browser!

contact: rajin@rajinshankar.com copyright Rajin Shankar, 2020