Cook–Torrance model shader "à la" meshlab

Julien Bayle's icon

hi there, a quick post just for referencing a fast port of Cook–Torrance model shader I just made from meshlab shader implementation. Did that related to my project http://julienbayle.net/structure-live

here is a patch + my jxs implementation.
probably not useful in many case, but it will be here for people looking at this.

cookTorr.maxpat
Max Patch
The example Patch

cookTorr.jxs
jxs 2.11 KB
The .jxs shader

a rendering

Music_SDP's icon

This is beautiful! Thank you for sharing!

Julien Bayle's icon

thanks to cook-torrance model :-)