Guest post: WebGL shading: both diffuse and specular

By Luís Fonseca

Hi, I’m Luís. Just doing a quick variation on Jims’ previous post about specular and diffuse lighting.

You don’t need to decide on going for one of those types. You can mix both to try to get a better effect.

As you move your cursor around the image above, press the s or d keys continuously for more specular or diffuse lighting, respectively.

I just released Vidrio, a free app for macOS and Windows to make your screen-sharing awesomely holographic. Vidrio shows your webcam video on your screen, just like a mirror. Then you just share or record your screen with Zoom, QuickTime, or any other app. Vidrio makes your presentations effortlessly engaging, showing your gestures, gazes, and expressions. #1 on Product Hunt. Available for macOS and Windows.

With Vidrio

With generic competitor

More by Jim

Tagged #programming, #graphics, #webgl. Luís Fonseca wrote this. This post is presumably not associated with their employer. Found an error? Edit this page.