Skip to content

rf1424/BaseWebGPU

Repository files navigation

Implementation Log

This is a personal project to build a rendering engine in WebGPU from scratch. After taking a few computer graphics courses in OpenGL, I wanted to learn a more modern graphics API and implement graphics techniques I was interested in.

So far I have implemented physically based lighting with point lights, and I plan to add:

  • Environment maps/image based lighting
  • Glass / transparent PBR material
BSDF / Physically based Rendering with Point Lights


Camera control with Mouse
Window Resizing
Tiny Obj Loading + Texturing

Basic Shading

2D to 3D

Buffers and Uniforms

Render Pipeline configuration
  • Vertex pipeline, primitive pipeline, vertex/fragment shaders

Environment Setup
  • Conigure with CMake, Visual Studio, and C++, Dawn.
  • Set up adapter, device, command queue.
  • Create a window with GLFW.
  • Refactor with C++ Wrapper Configuration: https://github.com/eliemichel/WebGPU-Cpp
Dependencies
  • wgpu
  • glfw
  • glm
  • tiny_obj_loader
  • stb
References
Models and textures

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published