Просмотр исходного кода

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

Lucas Stadler лет назад: 10
Родитель
Сommit
8b6826f121
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      glsl/raymarching.js

+ 8 - 0
glsl/raymarching.js

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
// # Resources
9
// # Resources
2
//
10
//
3
// - [Raw WebGL](http://nickdesaulniers.github.io/RawWebGL) ([video](https://www.youtube.com/watch?v=H4c8t6myAWU))
11
// - [Raw WebGL](http://nickdesaulniers.github.io/RawWebGL) ([video](https://www.youtube.com/watch?v=H4c8t6myAWU))