Skip to content

BLaZeKiLL/webray

Repository files navigation

WebRay

Webray is a WebGPU powered ray tracer + Svelte based editor

⚠️ WebGPU: Is an experimental api. Webray is tested on the latest desktop chrome version. your system may slow down or crash during rendering. please use webray at your own risk.

Demo 02 4K @ 512 Samples, 64 Bounces. 20 mins on webray-native

Editor Documentation

The editor is available here along Demo Scene 01 and Demo Scene 02 which can be imported.

Tools

  • Objects in the current scene
  • Download rendered image
  • Render the current scene as an image
  • Camera Settings
  • Render Settings
  • Materials in the current scene
  • Enter full screen image
  • Exit full screen image
  • Delete item
  • Download scene json file
  • Import scene json file

WebRay Renderer

Demo 01 HD @ 128 Samples, 32 Bounces. 4secs webray-native

The renderer is implemented in rust and compiled to wasm with the core kernel implemented as a wgsl compute shader using wgpu.