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


~15h ago

joreg: PSA: This wednesday 11pm vvvv.org will be moving servers. If everything goes according to plan we should be back within a few hours.

~23h ago

joreg: Also as every 2 weeks: This Tuesday: Free introduction to the all-new #vvvv: free-vvvv-intro-workshops-this-summer-in-berlin followed by the regular vvvv meetup

~23h ago

skyliner: anyone at usbynight?

~1d ago

joreg: Reminder: This wednesday in #berlin: Getting Started with Data Visualization: https://nodeforum.org/announcements/workshop-getting-started-with-data-visualization/ vvvv #creativecoding #dataviz

~3d ago

joreg: @eglod vvvv is international! wenn du hilfe auf deutsch brauchst, dann komm am besten in unseren deutschen chat: https://riot.im/app/#/room/#vvvv-at:matrix.org

~4d ago

eglod: In allen möglichen Sprachen gibt es VVV. V4 ist deutsch, warum nicht in deutscher Sprache. eglod

~4d ago

eglod: In allen möglichen Sprachen gibt es VVV. V4 ist deutsch, warum nicht in deutscher Sprache. eglod

~5d ago

joreg: Reminder: First #vvvv meetup in #hamburg this friday: vvvv-hamburg-meetup-1 Hope to see some of you there!

~7d ago

AKa-visuals: Hi guys. Everyone guess when xenko engine would be avaliable to play around in vl ... Isnt?