Loading
Example Project Type
Caizii Example Project Template

This is a project description. Unlike the description within the Markdown meta section, it will not appear on the project component of the project page. Instead, it will be displayed on the project details page.

Features

  • Real-time ray tracing with hardware acceleration
  • Volumetric fog and lighting effects
  • Physically Based Rendering (PBR) materials
  • Dynamic shadows with soft edges
  • Screen-space reflections

Video Demo

Shader Engine Demo Video

Technical Details

Architecture

The engine uses a deferred rendering pipeline with the following stages:

  1. Geometry Pass - Renders scene geometry to G-buffer
  2. Lighting Pass - Calculates lighting from G-buffer data
  3. Post-processing - Applies effects like bloom, tone mapping

Code Example

// Initialize the shader pipeline
ShaderPipeline pipeline;
pipeline.addStage(new GeometryPass());
pipeline.addStage(new LightingPass());
pipeline.addStage(new PostProcessPass());

// Render frame
pipeline.execute(scene, camera);

Screenshots

Shader comparison
Before and after shader comparison

Performance

ResolutionFPS (RTX 3080)FPS (RTX 4090)
1080p120+144+
1440p90+144+
4K60+100+

Getting Started

  1. Clone the repository
  2. Install dependencies with cmake
  3. Build the project
  4. Run the demo application

Note: Requires a GPU with ray tracing support for full features.

License

This project is licensed under the MIT License - see the LICENSE file for details.