qdtk / openshadinglanguage

Automatically exported from code.google.com/p/openshadinglanguage
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

fake fur bsdf #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is a fake fur shader based on the paper:
http://www.danbgoldman.com/misc/fakefur/fakefur.pdf

There are 3 closures, two of which essentially re-purpose bsdf_hair.cpp and
have additional stuff to account for fur over fur attenuation of light, and
another closure that does the same sort of thing for attenuated skin
lighting underneath fur.  I'm uncertain how these factors influence the pdf
at this point.  

Finally, there is an OSL shader which needs to be provided as well - this
shader handles a local surface to world space transform for fur tangent
vectors and includes yet another fur opacity function for handling the
final compositing of fur over skin.

This shader is for in place of full blown hair renders where medium to low
LOD allows...

Re: "SMOOTHSTEP()" - I was informed at one point this is already laying
around somewhere, but I haven't found it yet.

Original issue reported on code.google.com by masterbl...@gmail.com on 25 Feb 2010 at 11:38

Attachments: