» 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 | 1108 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

~3d ago

joreg: In case you missed: We're starting with free bi-weekly introductions to #vvvv next week in #berlin free-vvvv-intro-workshops-this-summer-in-berlin #creativecoding

~4d ago

guest: uno|https://platform.uno/

~11d ago

joreg: @beyon too bad. but from now on we have a fixed schedule: every 4th tuesday in the month! hope this helps to plan evvvveryones visits

~11d ago

beyon: joreg: ah, bad timing, I would be happy to attend but I doesn't look like it will work out

~11d ago

joreg: @beyon any chance you can add 2 days to stay? would be great to have you at the (not yet announced) #vvvv meetup on the 23rd!

~11d ago

~12d ago

beyon: I'll be in Berlin July 13-22 - anything interesting going on in that time frame?