• Stars
    star
    189
  • Rank 203,494 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 3 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple renderer implemented by WebGPU, includes a builtin path tracing pipeline.

webgpu-renderer & path-tracing

A simple renderer implemented by WebGPU, includes a builtin path tracing pipeline.

Path tracing demo

demo

Check here: Path tracing demo

You must use the lasted version of Chrome.

Development

First clone this repository, the:

npm i

npm run dev

Then open url http://127.0.0.1:8888 in your chrome canary.

Tutorials

Chinese only now.

  1. 概览介绍:将会对整个项目涉及的知识做一个综述。
  2. WebGPU基础与简单渲染器:通过自己实现的一个简单渲染器来论述WebGPU的能力。
  3. 路径追踪-场景数据组织:针对路径追踪,如何组织场景数据,涉及到PBR材质、glTF、场景合并等。
  4. 路径追踪-管线组织与GBuffer:针对路径追踪,如何组织渲染管线,同时论述GBuffer的生成。
  5. 路径追踪-BVH与射线场景求交插值:如何构建BVH,以及如何在CS中求交。
  6. 路径追踪-BRDF与蒙特卡洛积分:论述如何在路径追踪中运用蒙特卡洛采样实现直接光照和间接光照,以及运用BRDF光照模型。
  7. 路径追踪-降噪与色调映射:如何对充满噪点的图像进行空间和时间的滤波,最后输出如何进行色调映射。
  8. 踩坑与调试心得:对于WebGPU这样一个实验性的API(至少当时),我是如何进行调试的血泪史(主要是CS部分)。

License

Copyright © 2021, 戴天宇, Tianyu Dai (dtysky < [email protected] >). All Rights Reserved. This project is free software and released under the MIT License.

More Repositories

1

Awaken

一个基于WebDAV的全平台EPUB阅读器,支持笔记、进度、书签同步,支持Kindle笔记导入。
TypeScript
609
star
2

FPGA-Imaging-Library

An open source library for image processing on FPGA.
Verilog
542
star
3

xr-frame-demo

Demos for xr-frame system in wx-mini-program.
JavaScript
255
star
4

BlogReworkPro

Rework the BlogRework, a SEO friendly SPA, build with flask, react, redux, mongodb...
Python
88
star
5

gl-matrix-wasm

Port gl-matrix to WebAssembly by rust, wasm-bindgen and wasm-pack.
Rust
79
star
6

paradise

Amazing front-end effects on web.
TypeScript
61
star
7

MoeNotes

A simple note application.
TypeScript
59
star
8

wasm-usage-guide

Guides for generating and using wasm with different language(TypeScript, c++ and rust).
JavaScript
51
star
9

Gal2Renpy

Gal2Renpy是一个游戏剧本解析器,用于将游戏剧本(DSL)转换为游戏引擎ren'py的脚本,目的是将剧本文件和脚本代码完全分离,让剧本写手能够安于剧本创作。
Python
46
star
10

UploadChecker

Check and constrain type/size/resolution while uploading files in pure front-end way.
TypeScript
30
star
11

egret-galgame

An extension for egret engine.
TypeScript
21
star
12

Algorithm

Algorithm and data structures exercises.
C++
20
star
13

xr-frame-toolkit

Toolkit for wx-miniprogram xr-frame.
TypeScript
19
star
14

ShowYourHeart

Show your heart to her/him on web...
JavaScript
13
star
15

SIMPLE_MIPS_CPU

A simple MIPS CPU, for fun.
Verilog
10
star
16

BlogRework

BlogReworkPro is here: https://github.com/dtysky/BlogReworkPro
JavaScript
8
star
17

muddy-driver

A mad game for GIGA Gamejam 2018.
TypeScript
8
star
18

DeviceOrientationManager

A manager which will help you to control DeviceOrientation easily.
TypeScript
6
star
19

LD3320_FPGA_CONTROLLER

FPGA的LD3320控制器(A controller for LD3320 by FPGA)
VHDL
4
star
20

3D_Displayer_Controller

A controller for a 3d system, using FPGA(VHDL), CY68013(C#, C), Bluetooth(C#, VHDL) .
VHDL
4
star
21

Led_Array

Contenting a led array(120*114,15.2pixel/cm^2) pcb board(2-layers) and its controller pcb board(4-layers), a patch(ing) board for one core board, and a program for testing.
VHDL
3
star
22

WhenMonIsntHome

When mom isn't home.
TypeScript
3
star
23

EternalFlame

Eternal flame.
TypeScript
3
star
24

DDR2_CONTROLLER

An controller for DDR2 on FPGA with vhdl, content testbeach and model.
Verilog
2
star
25

Graduation_Project

My graduation project.
JavaScript
2
star
26

ResourceManager

A class for better loading and managing resources.
JavaScript
2
star
27

LD3320_AXI

An controller for LD3320 on xilinx FPGA with AXI-BUS.
VHDL
2
star
28

3D_Displayer_Machine

Machine.
2
star
29

LearningWebGL

Learning WebGL.
JavaScript
2
star
30

Stars

A 3D game, for fun.
C#
1
star
31

ImageHemorrhage

Image hemorrhage operation.
Python
1
star
32

TearsOfTimes-MinecraftRemake

Nothing here... Let it go......
Logos
1
star
33

custom-gltf-extension-demo

A demo showing how to write a custom GlTF extension for Sein.js and SeinJSUnityToolkit.
C#
1
star
34

CSAPP

CSAPP
C
1
star