» lambSkin
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

lambSkin

effect point-light translucent

about

A lambertian-like surface with light "bleed-through" -- appropriate for soft translucent materials like skin. The "subColor" represents the tinting acquired by light diffused below the surface.
Set the "rollOff" angle to the cosine of the angle used for additional lighting "wraparound" -- the diffuse effect propogates based on the angle of LightDirection versus SurfaceNormal.
Versions are provided for shading in pixel or vertex shaders, textured or untextured.

download

lambSkin.zip - 22.06.10 [15:31 UTC] by dottore | 919 downloads

DiMiX 22/02/2017 - 01:07

anyone with DX11?

colorsound 22/02/2017 - 11:50

HI , I tried porting in here sometime ago from nvidia examples, dx11-modules-and-shaders-addition-ii, not sure how well it works

DiMiX 22/02/2017 - 17:45

Thanks. It's working. Any ideas how to get "SUB SURFACE SCATTERING" look with "bleed through" color?

mburk 22/02/2017 - 20:21

This depth map approach looks promising and relatively easy to implement: http://http.developer.nvidia.com/GPUGems/gpugems_ch16.html

anonymous user login

Shoutbox

~16h ago

drehwurm: bäm @joreg. That's great!

~17h ago

drehwurm: Hey, it would be cool, if we could pass a startup-argument to the patch, to create our own startup args.

~2d ago

manuel: anyone ussing orbecc camera ?

~2d ago

anchnk: Feel free to dm me on twitter,slack,gitter,wherever as anchnk :)

~2d ago

anchnk: Me, any art rec in Berlin next week for an old vvvv user ? Would be great to meet as well. I did the vvvv/max/msp workshop at node08

~3d ago

polyrhythm: sweet, thanks! i figured i'd be doing c++ with a 4kb

~4d ago

evvvvil: @polyrhythm: No software, pure C++ and GLSL. IQ's 4kb framework does help, but get your text coding gloves on. http://www.iquilezles.org/code/isystem1k4k/isystem1k4k.htm