knightcrawler25/GLSL-PathTracer

C++
WindowsLinux

A toy physically based GPU path tracer (C++/OpenGL/GLSL)

glslpathtracerraytraceropenglpath-tracingray-tracingbvhgputracerpath-tracerwindowslinux
스타 성장
스타
2.1k
포크
198
주간 성장
+0
이슈
10
5001k1.5k2k
2023년 1월2024년 3월2025년 6월2026년 9월

다운로드

모든 릴리스
README

GLSL-PathTracer

A physically based path tracer that runs in a GLSL fragment shader.

Jinx

Tropical Island

Features

  • Unidirectional path tracer
  • Two-level BVH for instancing
  • Disney BSDF
  • Texture mapping (Albedo, Metallic-Roughness, Normal, Emission)
  • Analytic lights (Spherical, Rectangular, Directional)
  • Image based lighting
  • Multiple importance sampling
  • Tile rendering
  • OpenImageDenoise
  • Stochastic alpha testing
  • MagicaVoxel style homogeneous volumes
  • GLTF/GLB support (In progress)

Build Instructions

Please see INSTALL-WIN.txt for the build instructions for Windows and INSTALL-LINUX.txt for Linux

Sample Scenes

A couple of sample scenes are provided in the repository. Additional scenes can be downloaded from here: https://drive.google.com/file/d/1UFMMoVb5uB7WIvCeHOfQ2dCQSxNMXluB/view

Monster

WW2

RenderMan Swatch

Dragon

Stormtrooper

Panther

Crown

Mustang

Mustang_Red

Hyperion

Ajax

Dining Room

Rank3PoliceUnit

Staircase

Substance Boy

References/Credits

관련 저장소
pixijs/pixijs

The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.

TypeScriptnpmMIT Licensecanvas2dpixijs
pixijs.com
48.1k5.1k
lettier/3d-game-shaders-for-beginners

🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.

C++tutorialshaders3d
lettier.github.io/3d-game-shaders-for-beginners/index.html
19.9k1.5k
gpujs/gpu.js

GPU Accelerated JavaScript

JavaScriptnpmlibraryMIT Licensegpuwebgl
gpu.rocks
15.5k664
SaschaWillems/Vulkan

C++ examples for the Vulkan graphics API

GLSLtutorialMIT Licensevulkanvulkan-api
12.1k2.2k
fogleman/Craft

A simple Minecraft clone written in C using modern OpenGL (shaders).

CMIT Licensecopengl
michaelfogleman.com/craft/
11.1k1.5k
olive-editor/olive

Free open-source non-linear video editor

C++appGNU General Public License v3.0cppcross-platform
olivevideoeditor.org
9.1k617
patriciogonzalezvivo/thebookofshaders

Step-by-step guide through the abstract and complex universe of Fragment Shaders.

GLSLtutorialOthershadersshader
thebookofshaders.com
7k755
RodZill4/material-maker

A procedural textures authoring and 3D model painting tool based on the Godot game engine

GDScriptappMIT Licensegodotengineglsl
5.9k369
shader-slang/slang

Making it easier to work with shaders

C++Othershadershlsl
shader-slang.com
5.6k488
crosire/reshade

A generic post-processing injector for games and video software.

C++BSD 3-Clause "New" or "Revised" Licensepost-processinginjector
reshade.me
5.5k708
patriciogonzalezvivo/glslViewer

Console-based GLSL Sandbox for 2D/3D shaders

C++cliBSD 3-Clause "New" or "Revised" Licenseshadersfragment-shader
patriciogonzalezvivo.github.io/glslViewer/
5.3k371
gfxfundamentals/webgl-fundamentals

WebGL lessons that start with the basics

HTMLtutorialOtherwebglglsl
webglfundamentals.org
5k687