Sfoglia il codice sorgente

a bit more info about what this is & how to use it

Lucas Stadler 10 anni fa
parent
commit
8b6826f121
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      glsl/raymarching.js

+ 8 - 0
glsl/raymarching.js

@ -1,3 +1,11 @@
1
// # Rendering Signed Distance Functions with WebGL
2
//
3
// Yes, you can do this in Shadertoy, but this is how you can do it from scratch.
4
// (It also loads a lot faster.)
5
//
6
// Use it by opening the Scratchpad in Firefox and evaluate the code with `Ctrl-R`
7
// to rerender.  Including via `<script>` should also work.
8
//
1 9
// # Resources
2 10
//
3 11
// - [Raw WebGL](http://nickdesaulniers.github.io/RawWebGL) ([video](https://www.youtube.com/watch?v=H4c8t6myAWU))