...
- Don't output the
getattribute()node when the primitive variable is not present. - Output the proper default value in the
getattribute()node in case the primitive variable is not present. This involves shader node interrogation.
The Hair Closure
3Delight supports Marshner's model for sampling hair. We choose to break down the model into sub-components (each component being a closure). The general form of the hair closure looks like this:
...