Skip to content

Rayzer is a simple CPU-based ray tracer designed to explore real-time rendering fundamentals like ray tracing, path tracing, materials, lighting, etc.

License

Notifications You must be signed in to change notification settings

munucrafts/Rayzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rayzer – A Simple CPU Ray Tracer

Rayzer is a simple CPU-based ray tracer designed to explore real-time rendering fundamentals like ray tracing, path tracing, ray-sphere intersection, material lighting, reflections, and roughness-based scattering, etc.

Note: I am using the https://github.com/StudioCherno/WalnutAppTemplate here as a template, as it already includes a few useful libraries like GLM, ImGui, etc.


Features

  • Ray-sphere intersection.
  • Recursive ray tracing with bounce depth.
  • Material system (color, roughness, emissiveness).
  • Light direction shading.
  • Accumulation buffer for denoising.
  • Randomized scattering for rough surfaces.
  • Soft background blending.
  • Rendering Spheres and Cubes.

Future Ideas

  • Camera movement and rotation.
  • Multithreading for performance.

About

Rayzer is a simple CPU-based ray tracer designed to explore real-time rendering fundamentals like ray tracing, path tracing, materials, lighting, etc.

Topics

Resources

License

Stars

Watchers

Forks