Quick Lighting in Shadertoy
Blackle Mori
0:00 / 0:00
Quick Lighting in Shadertoy
5 015 просмотров · 5 л. назад
Blackle Mori
2,12 тыс. подписчиков
5 015 просмотров · 5 л. назад
In this tutorial I showcase a couple of different ways to quickly add lighting to a 3D model when all you have is the normal vector. I also get opinionated about the ambient component of the Phong model.
Links:
Quick Lighting Tech - https://www.shadertoy.com/view/ttGfz1
Explanation of the "erot" function - https://suricrasia.online/demoscene/f...
"Computer Color is Broken" i.e. why we take the square root at the end - • Computer Color is Broken