Alexandr Poltavsky
Software Developer
Location: Russia, Moscow
poltavsky.alexandr@gmail.com
Blog
Github
Shadertoy
Twitter
Dynamic Lighting using Primitive ID
This is an initial demo that failed as I could not eliminate popping. You click and rotate the model ( a statue of Lenin ) to get an idea. Also try clicking "Per face/Per vertex" button to switch between per vertex/per face lighting.
Here is the post that describes what was wrong and how I solved it.
Click to show WebGL demo