Skip to content

A ray-tracing renderer using WebGL 2.0 compute shader

Notifications You must be signed in to change notification settings

chbdetta/webgl-compute-raytracing

Repository files navigation

Deprecated

WebGL 2.0 Compute Shader is deprecated in favor of the WebGPU Proposal and as a result. The demo no longer works

Will move to WebGPU implementation once the proposal is stable.

WebGL 2.0 Compute Ray-tracing - Demo

demo

Prerequisite

  1. Check browser support: Can I use
  2. WebGL 2.0 compute shader is supported as an experimental feature on Windows / Linux.
  3. Using chrome: turn on WebGl 2.0 Compute and Choose ANGLE render backend: OpenGL in Chrome experimental features. Access experimental features in chrome://flags
  4. Having a good graphic card can give smoother FPS

Build & Develop

  • npm run build
  • npm run dev

Reference

About

A ray-tracing renderer using WebGL 2.0 compute shader

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published