Greggman

Results 352 comments of Greggman

You're not adding the vectors, you're adding the *direction* of the vectors. In other words you add the normalized vectors, not the vectors themselves to get the halfVector.

The simplest update might just be to change it from > If we know the direction from the surface of our model to the light (which we do since we...

The `radius` defines the radius of the circle of `F`s. We want the camera to be outside that circle not on that circle. ![camera-radius](https://cloud.githubusercontent.com/assets/234804/26289815/dbc085a6-3edd-11e7-9341-d3502bc75ee4.png) Yes, you could just make it...

That's a good idea Making the entire site a single page would cause some technical issues as having 50 or so interactive WebGL demos on a page will run into...

Of course! Be my guest!

I hacked in some translation support. Grab the latest, put your files in `webgl/lessons/pl`. As you add lessons update `webgl/lessons/pl/toc.html`. To build if you haven't already done this type ```...

So I just tried this and it worked for me ``` git clone [email protected]:greggman/webgl-fundamentals.git cd webgl-fundamentals npm install grunt build ``` Does that not work for you? if I edit...

Pull again, try it now.

You don't need `--stack`. All that does is print a stack trace when there is an error I'll add something for the hardcoded parts.

Ok, I pushed something that moves some of the language settings to `webgl/lessons/pl/langinfo.hanson`. hanson is just JSON but allows comments and non-quoted property names