Lambert + Phong != Blinn-Phong

Contrary to what one may think, combining the two is not actually Blinn-Phong. One simply cannot escape Lambert’s diffuse equation while doing basic lighting, so why would it be named after a different guy?

Nah. Jim Blinn did something to Phong’s equation, but we will talk about that in the future.

For now, let me brag about both things combined:

Diorama rendered with both Lambert and Phong’s shadings.

I have ramped the speculars all the way up for that image, but I am not completely displeased by it!

Read more →

Raylib - How to setup Visual Studio

In most of my projects I use Visual Code, but for this I decided to go with Visual Studio out of custom from working in Unity. I used to be daunted by setting up a project in VS until I cracked how to get raylib working on it, and it has been a breeze ever since.

So if you want to use Visual Studio Community for your raylib projects, you are in luck! I am going to show you how.

Read more →