logoalt Hacker News

A silly diffuse shading model

20 pointsby ibobevyesterday at 9:26 PM3 commentsview on HN

Comments

skocznymrocznyyesterday at 11:21 PM

Isn't that just Half-Lambert that Valve came up with for Half-Life?

"To soften the diffuse contribution from local lights, the dot product from the Lambertian model is scaled by ½, add ½ and squared. The result is that this dot product, which normally lies in the range of -1 to +1, is instead in the range of 0 to 1 and has a more pleasing falloff. "

https://developer.valvesoftware.com/wiki/Half_Lambert

show 1 reply
dewittyesterday at 10:19 PM

The art style under "A Sillier Solution" [1] reminds me very much of the cover of Dragon Magazine #100, August 1985 [2].

[1] https://lisyarus.github.io/blog/media/a-silly-diffuse-shadin...

[2] https://archive.org/details/DragonMagazine260_201801/DragonM...