jonahalmn / tiny-raytracer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Absolutely useless

This project is a WebGL raytracer, for now it can only raytrace 3 spheres and cast shadow on a plane, yes nobody needs this.

The raytracer is mainly written in fragment shader.

It don't really work but you can see demo here

To do:

  • Improve this absolutely ugly render
  • Several materials render
  • Soft shadows
  • Multiples lights
  • Improve intersections between objects
  • Many many more...

How to run

Just clone and execute yarn && yarn start.

About


Languages

Language:JavaScript 74.8%Language:GLSL 23.8%Language:HTML 0.9%Language:CSS 0.5%