Subsurface Scattering Shader

About

  • Header File: c4d_base/description/xxmbsubsurface.h
  • Description Category: Shaders. A ::BaseShader. See BaseShader Manual.
  • Included Description:

Parameters

Parameters are accessed with C4DAtom::GetParameter()/ C4DAtom::SetParameter(). See page_maxonapi_getting_started_foundations_cinema_parameters.


Parameter: Preset

  • Parameter ID: XMBSUBSURFACESHADER_PRESET
  • Parameter Type: maxon::Int32 (Basic Data Types)
  • Cycle Values:
    • Custom (XMBSUBSURFACESHADER_PRESET_CUSTOM)
    • Apple (XMBSUBSURFACESHADER_PRESET_APPLE)
    • Chicken (XMBSUBSURFACESHADER_PRESET_CHICKEN)
    • Cream (XMBSUBSURFACESHADER_PRESET_CREAM)
    • Ketchup (XMBSUBSURFACESHADER_PRESET_KETCHUP)
    • Marble (XMBSUBSURFACESHADER_PRESET_MARBLE)
    • Milk (Skim) (XMBSUBSURFACESHADER_PRESET_MILK_SKIM)
    • Milk (Whole) (XMBSUBSURFACESHADER_PRESET_MILK_WHOLE)
    • Potato (XMBSUBSURFACESHADER_PRESET_POTATO)
    • Skin (Dark) (XMBSUBSURFACESHADER_PRESET_SKIN_DARK)
    • Skin (Light) (XMBSUBSURFACESHADER_PRESET_SKIN_LIGHT)
    • Spectralon (XMBSUBSURFACESHADER_PRESET_SPECTRALON)

Parameter: Color


Parameter: Strength


Parameter: Shader

  • Parameter ID: XMBSUBSURFACESHADER_SHADER
  • Parameter Type: ::BaseLink (BaseLink Manual)

Parameter: Path Length


Parameter: Red


Parameter: Green


Parameter: Blue


Parameter: Mode

  • Parameter ID: XMBSUBSURFACESHADER_MULTIPLE_MODE
  • Parameter Type: maxon::Int32 (Basic Data Types)
  • Cycle Values:
    • Cache (XMBSUBSURFACESHADER_MULTIPLE_MODE_CACHE)
    • Direct (XMBSUBSURFACESHADER_MULTIPLE_MODE_DIRECT)

Parameter: Enabled


Parameter: Fast Evaluation


Parameter: Sample Density


Parameter: Smoothing


Parameter: Threshold


Parameter: Separate Color Channels


Parameter: Minimum Threshold


Parameter: Custom Sampling


Parameter: Sampling Subdivision


Parameter: Enabled


Parameter: Separate Color Channels


Parameter: Trace Shadow Rays


Parameter: Phase Function


Parameter: Custom Sampling


Parameter: Sampling Subdivision


Parameter: Fresnel Reflectivity


Parameter: Dithering


Parameter: Index of Refraction


Parameter: Compute GI Contribution


Parameter: Use Lights

  • Parameter ID: XMBSUBSURFACESHADER_LIGHTS_MODE
  • Parameter Type: maxon::Int32 (Basic Data Types)
  • Cycle Values:
    • Include (XMBSUBSURFACESHADER_LIGHTS_MODE_INCLUDE)
    • Exclude (XMBSUBSURFACESHADER_LIGHTS_MODE_EXCLUDE)

Parameter: Lights

  • Parameter ID: XMBSUBSURFACESHADER_LIGHTS
  • Parameter Type: ::InExcludeData