Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

light shader example #4

Closed
unicomp21 opened this issue May 20, 2014 · 4 comments
Closed

light shader example #4

unicomp21 opened this issue May 20, 2014 · 4 comments

Comments

@unicomp21
Copy link
Collaborator

can we get an example exercising the createLightShader :)

@rhulha
Copy link
Member

rhulha commented Jun 2, 2014

Not as easy as I thought...

@unicomp21
Copy link
Collaborator Author

Thanks for trying!

@rhulha
Copy link
Member

rhulha commented Jun 4, 2014

Got it working ! I forgot the normals in the cube :)

I added a light.html example.

I also found this interesting discussion on how to transform the normals:
http://learningwebgl.com/blog/?p=3322
and
http://people.mozilla.org/~bjacob/iap2011/slides/#slide27

@rhulha rhulha closed this as completed Jun 4, 2014
@rhulha rhulha changed the title examples light shader example Jun 4, 2014
@unicomp21
Copy link
Collaborator Author

Thanks Raymond!

On Wed, Jun 4, 2014 at 1:03 PM, rhulha [email protected] wrote:

Closed #4 #4.


Reply to this email directly or view it on GitHub
#4 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants