Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Don't output the getattribute() node when the primitive variable is not present.
  2. 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:

...