Date: Sept 11, 2017.
Summary of the glTF 2.0 ecosystem, as it affects WebVR devs.
- three.js, BabylonJS, and A-Frame v0.7.0+ support glTF2.0.
- ... and more.
## Photon Methods | |
**public class Blank : Photon.PunBehaviour** | |
instead of mono behavior, use this to receive photon callbacks in your script. | |
**public override void OnLeftRoom()** | |
An example of overriding a punbehavior callback |
Date: Sept 11, 2017.
Summary of the glTF 2.0 ecosystem, as it affects WebVR devs.
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> | |
<style> | |
body { | |
margin: 0px; | |
overflow: hidden; | |
} |