Jump to content
djwarder

Milk Shader

Recommended Posts

Anyone attempted to write a shader for milk at all in Houdini? I'm assuming I'd start with using a lot of SSS & forward scattering, but not sure where to go from there. Anyone able to advise at all please?

Share this post


Link to post
Share on other sites

I would look at the PhysicalSSS vop, if you switch it into Physical mode as opposed to Artist. You get access to all the absorption and scattering coefficients which are used in the presets for the VOP. There is one for Milk. I would suggest that would be a good start, but i wouldnt know where to begin if you are writing in vex (cant even find it in the documentation)

Share this post


Link to post
Share on other sites

hm, it seems that the PhysicalSSS has more functionality than the SSS section of the surface model. If I use a Mantra Surface Node how can I easily implement the PhysicalSSS vop? I'm not a shader guy and wouldn't create a shader from scratch.

Share this post


Link to post
Share on other sites

default surface shader preset has physical SSS inside. H12 sets it to "Artistic" mode by default with pointcloud, H13 sets it to raytraced by default

Edited by tmdag

Share this post


Link to post
Share on other sites

No no no !no dear side fx ! this is shouldn't be called "Artist" mode because it simply is not artist friendly.

 

you dont put an option like that so deeeeep inside! you have to be an artist of the art of Guessing in order to find it...

 

The presets of the Surface shader should simply give the ability to choose: Milk and boom ! Milk!

 

Why cant I see the straw?

 

Can someone help out on how to make a milk shader ?

post-9497-0-36031300-1390592889_thumb.jp

Milk Shader 3.hip

Edited by dpap

Share this post


Link to post
Share on other sites

Thanks Mangi!

It does fix it! The bad thing is that I would expect to control it from something like the  "Attenuation" parameter somehow. So that it is less opaque neather intersection and more towards the back. Tweacking the  opactiy scale kinda makes it more transparent but in a uniform way...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×