Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

A set of physical-based shaders for Mantra renderer

Notifications You must be signed in to change notification settings

groundflyer/physhader-for-mantra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhyShader

A set of physical plausible shaders for Mantra renderer.

GitHub release Houdini Version Compatibilty

PhySurface VOP

  • Energy conserving surface model
  • PBR and RayTrace render engines support
  • GTR BSDF with anisotropy 1 2 3 (also available as a separate VOP node)
  • Conductor Fresnel
  • Volume absorption
  • Raytraced subsurface scattering
  • Artist-friendly multiple scattering 4 (also available as a separate VOP node)
  • Ray-marched single scattering
  • Translucency
  • Dispersion 5
  • Thin sheet dielectric
  • Transparent shadows
  • Extra image planes support
  • Per-component image planes
  • Per-light image planes
  • Variance anti-aliasing support
  • Layered material
  • Nesting material 6

PhyVolume VOP

  • Color scattering and absorption
  • Per-light image planes

Installation

Copy vex,otls, vop and gallery folders into your Houdini home directory$HOUDINI_USER_PREF_DIR or $HIH.

Usage

Quickstart

  1. Go to Material Palette
  2. Choose PhySurface and move material into the scene
  3. Assign material to object
  4. Adjust parameters
  5. ...
  6. RENDER

Nested dielectrics

Video Tutorial

Quicktips

  1. The preferred Environment Light mode is Ray tracing background instead of "Direct Lighting".
  2. Indirect lights, such as Ambient Occlusion, Irradiance or Caustic Light do not contribute to subsurface scattering, however Environment Light in Direct Lighting mode does. Try using the combination of two Environment Lights in "Ray Tracing background" and "Direct" modes with object and shader Lightmasks.

References

1. Bruce Walter, Stephen R. Marschner, Hongsong Li, and Kenneth E. Torrance. Microfacet Models for Refraction through Rough Surfaces. In Proceedings of EGSR 2007.

2. Eric Heitz, Eugene D'Eon. Importance Sampling Microfacet-Based BSDFs using the Distribution of Visible Normals. Computer Graphics Forum, Wiley-Blackwell, 2014, 33 (4), pp.103-112.

3. Brent Burley. Physically-Based Shading at Disney. 2012.

4. Per H. Christensen, Brent Burley. An approximate reflectance profile for efficient subsurface scattering. 2015. In ACM SIGGRAPH 2015 Talks (SIGGRAPH '15).

5. Chris Wyman, Peter-Pike Sloan, and Peter Shirley, Simple Analytic Approximations to the CIE XYZ Color Matching Functions, Journal of Computer Graphics Techniques (JCGT), vol. 2, no. 2, 1-11, 2013.

6. Charles M. Schmidt and Brian Budge. Simple Nested Dielectrics In Ray Traced Images. In Journal of Graphics Tools, 7(2), 2002.