In this episode, I discuss how to do per fragment point lighting.
Sign up for my Newsletter: https://www.programmingtil.com/
Follow me on Twitter: / davidwparker and / programmingtil
Concepts:
* Lighting
* Surface color by diffuse reflection = light color * base color of surface * cos A
* Diffuse reflection = reflection differs by light position
* Angle(A) = between the light and surface
* Surface color by ambient reflection = light color * base color of surface
* Ambient reflection = same reflection at any position
* Surface color by diffuse and ambient reflection = surface color by diffuse + surface color by ambient
Current Schedule during sabbatical:
Monday / Thursday - WebGL
Resources:
* https://github.com/davidwparker/progr...