A downloadable game for Windows

ABOUT

This is a toy real-time path-tracer developed in Unity. A number of C# scripts control the main application, whilst a compute shader written in HLSL renders frames. This was originally created for the Advanced Games Engineering module I did at university, but has been adapted for public release.

The application currently contains four scenes which can be explored and rendered in real-time. As the camera moves, noise appears on the screen. By keeping the camera stationary, the frames converge to give a better image. The application is capable of rendering four different materials - Lambertian, metallic, dielectric, and emissive - which alter how rays are reflected and refracted.

This toy application does not require DX12 RTX enabled GPUs and should work with DX11 GPUs. However, performance will vary for different GPUs. If performance is an issue,  try reducing the resolution from the main menu.

The application is contained in a zip file, which can be downloaded below. Feel free to leave a message or issue in the comments below. 

CONTROLS

The controls for the application are detailed as follows:

MOVEMENT AND CAMERA

InputAction
WMoves in the direction that the camera is facing
SMoves away from the direction the camera is facing
AStrafe left
DStrafe right
MouseChange where the camera is looking

SKY COLOUR

InputAction
F1Enable a blue sky
F2Enable a night sky
F3Enable a vaporwave sky
F4Enable a  textured sky

OTHER CONTROLS

InputAction
KReduce the ray bounce limit by 1
LIncrease the ray bounce limit by 1
NEnable denoising (enabled by default)
MDisable denoising
EscapeReturn to the main menu

FUTURE WORK

Although this is a toy application, there is still further work to carry out.  These include:

  • Improvements to performance
  • Adding volumetric fog effects
  • Adding textures
  • Adding more materials
  • Adding physically-based rendering techniques

VERSION HISTORY

DateDescriptionVersion
21/05/21First public release1.0

Download

Download
RealTimePathTracer_v1.0.zip 24 MB

Install instructions

The zip file contains the application. To run the application, unzip the files and run the "RealTimePathTracer.exe" executable.


Leave a comment

Log in with itch.io to leave a comment.