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

~13h ago

catweasel: Me too, but it's the last few betas I've seen it in, less now than then. I wonder if it's a patch related issue

~14h ago

phlegma: @mrboni same behaviour here on my laptop.

~1d ago

mrboni: its affecting about 1 in every 5 saves right now

~1d ago

mrboni: is anyone else getting regular temp files with the latest beta? I'm getting the problem with both current projects.

~2d ago

eno: thx bjoern

~2d ago

eno: why- are the bezier editors dx9 only - in 2017

~2d ago

dominikKoller: If you know someone who can use a vvvv introduction, please tell them about our Beginner's Workshop! vvvv-beginners-workshop

~3d ago

mediadog: And then come to the opening of Paradise that evening: http://bit.ly/2naJNcz