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

Add specular lighting #4

Open
jsocol opened this issue Aug 14, 2021 · 0 comments
Open

Add specular lighting #4

jsocol opened this issue Aug 14, 2021 · 0 comments
Labels
Milestone

Comments

@jsocol
Copy link
Owner

jsocol commented Aug 14, 2021

Specular lighting is an additional lighting component calculated at each vertex that represents how a material may appear brighter or more reflective when the incident angle of the light points it more directly at the camera. It is calculated based on the half-vector between the vectors between the vertex and the light source, and vertex and the camera, respectively.

Not all materials have specular highlights. Highly diffuse materials (think concrete, most cloth, rough wood) do not reflect light coherently enough for specular reflection. Metal, polished wood, ceramic, and other "shiny" materials do.

@jsocol jsocol added this to the v1 milestone Aug 14, 2021
@jsocol jsocol mentioned this issue Dec 4, 2022
7 tasks
@jsocol jsocol added the lighting label Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant