Skip to main content

RayTracer Studio

Real-time CPU Ray Tracing in the Browser

Features

C++ Ray Tracing Engine

High-performance ray tracing written in C++ and compiled to WebAssembly for near-native browser performance.

🎛️

Interactive Controls

Real-time manipulation of lights, materials, camera, and scene with instant visual feedback.

🪞

Realistic Reflections

Recursive ray tracing with Fresnel effect for physically accurate mirror surfaces.

💡

Blinn-Phong Shading

Professional lighting model with ambient, diffuse, and specular components.

🌑

Shadow Rays

Hard shadows from point lights add depth and realism to the scene.

📐

3D Ground Plane

Blender-style infinite grid with axis highlighting and distance fade.

Technology Stack

🔧C++Core Engine
🌐WebAssemblyRuntime
⚛️ReactUI Framework
ViteBuild Tool
🔗EmscriptenCompiler