PDA

View Full Version : Creating a subsurface scattering node from scratch



Dan_Ritchie
09-10-2014, 04:26 PM
Below are 3 videos showing how to create a subsurface scattering node from scratch.

The first is an overview of how the node was created, and how to use bent normals.
The others are part one and two of constructing the subsurface scattering node from start to finish.

Had some trouble with Vimeo today. I think they are doing a net neutrality protest thing. It was ultimately confusing. Hope I got these in the right order, so just bear with me.

1
https://vimeo.com/105806341
2
https://vimeo.com/105805351

3
https://vimeo.com/105806962

OnlineRender
09-10-2014, 04:47 PM
ty & shared!

Dan_Ritchie
09-10-2014, 06:22 PM
Once again, the nodes library. I do believe the latest build also has the bend_normals node mentioned in the vidoes.


http://www.squirreldome.com/download/nodes.zip



Name File Size Created
-----------------------------------------------------------------------
Arch.nodes
Average normal.nodes
GLobal_Ilumination_Lambert_Shader.nodes
Lerp normal.nodes
Occlude.nodes
Occlude_and_radiosity.nodes
Path_Tracer_With_Reflectivity_2.nodes
RandomNormal2.nodes
Reflect_Normal.nodes
Smoothstep.nodes
Smoothstep_Zero_to_one.nodes
Sqrt.nodes

mummyman
09-10-2014, 07:01 PM
Wow... great tutorials! I'm still looking for the bend_normals node referenced in the vids. It's not in this latest .zip. Thanks for the explainations!

chikega
09-10-2014, 09:37 PM
Wow! These are incredible, Dan. I reached my limits with what Sigma 2 can do for SSS. These videos are a god send. I'll just need to spend some time to review these more in-depth. Thank you! :)

OFF
09-11-2014, 01:40 AM
It's great! Almost real time SSS ))

3djock
09-11-2014, 12:19 PM
Wow... great tutorials! I'm still looking for the bend_normals node referenced in the vids. It's not in this latest .zip. Thanks for the explainations! Same here..:thumbsup:

inkpen3d
09-11-2014, 02:16 PM
Very interesting set of tutorials Dan - thanks for all your time and effort making them. I would like to explore further, but as others have said, no bend_normals node in the library zip file.

Dan_Ritchie
09-11-2014, 02:43 PM
Thanks. I have updated the zip archive at http://www.squirreldome.com/download/nodes.zip

mummyman
09-11-2014, 05:32 PM
Awesome!!!!!

inkpen3d
09-12-2014, 05:50 AM
Excellent - thanks Dan! :)

3djock
09-12-2014, 12:45 PM
Okay stupid question, where do you put these nodes? Usually they come as a plugin..

Dan_Ritchie
09-12-2014, 12:51 PM
You don't need to "put" them anywhere. Put them anywhere and import them into the node editor as you need them. Just right click and select "Import node"

3djock
09-12-2014, 01:02 PM
You don't need to "put" them anywhere. Put them anywhere and import them into the node editor as you need them. Just right click and select "Import node" Thanks Dan appreciate it I did not know that..

johnliebler
09-17-2014, 10:33 AM
Thanks for the nodes, and the tutorials Dan!

I finally got a chance to take these node setups out for a spin, and here's what I was able to get:

124327

I used a hybrid approach of the different methods in the tutorials. One thing I discovered is that you can use a directional light (I'm using the stock Dome light here) by plugging "World Forward" from the light's Item Info node into the "Reference World Position" input of the Bend Normals node. Also, if you use a soft shadow raytraced light, you can get shadows if you set the shadow color to grey, instead of black. The renders did have a lot of noise, but I used Neat video to remove the noise in After Effects.

And here's how it looks animated. After a bit of post processing. :)

https://dl.dropboxusercontent.com/u/97214604/CAS9_SSStest1.mp4

chikega
11-26-2014, 10:19 PM
Thanks for the nodes, and the tutorials Dan!

I finally got a chance to take these node setups out for a spin, and here's what I was able to get:

124327

Very nice test there John. The SSS effect has a much more dramatic effect than the standard offerings in the material nodes. :)

mewnow
06-28-2017, 07:14 AM
Once again, the nodes library. I do believe the latest build also has the bend_normals node mentioned in the vidoes.


http://www.squirreldome.com/download/nodes.zip



Name File Size Created
-----------------------------------------------------------------------
Arch.nodes
Average normal.nodes
GLobal_Ilumination_Lambert_Shader.nodes
Lerp normal.nodes
Occlude.nodes
Occlude_and_radiosity.nodes
Path_Tracer_With_Reflectivity_2.nodes
RandomNormal2.nodes
Reflect_Normal.nodes
Smoothstep.nodes
Smoothstep_Zero_to_one.nodes
Sqrt.nodes

The link is dead, would you reupload it again? Thanks.

kabal
07-29-2017, 12:41 AM
The link is broken, would you reupload it again or make a tutorial for average normal and random normal ? Thanks.

Dan Ritchie
07-29-2017, 10:12 AM
I restored it from a backup, so let me know if you have any problems.

http://squirreldome.com/download/nodes.zip

TreyX
07-29-2017, 06:53 PM
u da man! ty - brilliant work. :) :thumbsup:

kabal
07-31-2017, 03:11 AM
Thanks for your so fast answer and for your job !

daforum
07-31-2017, 08:27 AM
I restored it from a backup, so let me know if you have any problems.

http://squirreldome.com/download/nodes.zip

Thanks for sharing Dan :thumbsup:
Will these nodes work on earlier versions of LW?

daforum
08-01-2017, 08:42 AM
Just wondering about what I was wondering about... :)