Skip to content

Add specular lighting #4

Open
Open
@jsocol

Description

@jsocol

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions