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


effect point-light translucent


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.


22.06.10 [15:31 UTC] by dottore | 938 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


~5h ago

Elias: new #vvvv and #vl release: vvvv50beta35.8

~9h ago

dominikKoller: Is there a reason the old Arduino nodes are still not set to Legacy?

~17h ago

dawoof: has anyone used a LEDMX4 pro?

~2d ago

yar: I heard you like raymarching. https://vimeo.com/222084800

~2d ago

tonfilm: very nice @mburk!!! so here is the next task if you have nothing else to do: https://github.com/tebjan/CraftLie/issues/7

~2d ago

sebescudie: such wow! thanks!

~2d ago

mburk: SuperPhong -> SuperPhysical superphysical

~3d ago

tonfilm: also don't forget our #vvvv chat room on #matrix, lot's of people already there: chat-vvvv-on-matrix.org

~3d ago

vasilis: Cool!

~3d ago

metrowave: Nice new layout!