- From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Feb 2017 13:28:49 +0000
- To: public-media-capture-logs@w3.org
The second example is impossible to follow as it only does half of
what it says and just contains a lot of ... :-)
https://github.com/01org/depth-camera-web-demo/blob/master/depthdemo.html
does more or less what it says, but contains optimizations using
extensions etc. If that could be simplified somehow we might be able
to include it some how...
Shaders could be multiline using ``
```
gl.shaderSource(pixel_shader, `
precision mediump float;
uniform sampler2D s;
varying vec2 t;
void main() {
vec4 tex = texture2D(s, t);
gl_FragColor = vec4(tex.r, tex.g, tex.b, tex.a);
}`);
```
--
GitHub Notification of comment by kenchris
Please view or discuss this issue at
https://github.com/w3c/mediacapture-depth/issues/57#issuecomment-281668939
using your GitHub account
Received on Wednesday, 22 February 2017 13:28:55 UTC