Class PBRMaterialAdapter

java.lang.Object
com.jme3.scene.plugins.gltf.MaterialAdapter
com.jme3.scene.plugins.gltf.PBRMaterialAdapter
Direct Known Subclasses:
PBRMetalRoughMaterialAdapter, PBRSpecGlossMaterialAdapter

@Deprecated public abstract class PBRMaterialAdapter extends MaterialAdapter
Deprecated.
This will be removed in a future version of the engine. To migrate, create a custom GltfMaterialFactory and register it with the GltfLoader.
Adapts GLTF PBR materials to JME PBR materials.
Author:
Nehon
  • Field Details

    • MASK_ALPHA_DISCARD

      public static final float MASK_ALPHA_DISCARD
      Deprecated.
      The default alpha discard threshold for "MASK" blend mode.
      See Also:
  • Constructor Details

    • PBRMaterialAdapter

      public PBRMaterialAdapter()
      Deprecated.
  • Method Details

    • getMaterialDefPath

      protected String getMaterialDefPath()
      Deprecated.
      Description copied from class: MaterialAdapter
      Should return the material definition used by this material adapter
      Specified by:
      getMaterialDefPath in class MaterialAdapter
      Returns:
      path to the material definition
    • initDefaultMatParams

      protected void initDefaultMatParams(com.jme3.material.Material material)
      Deprecated.
      Description copied from class: MaterialAdapter
      Initializes material parameters to their default settings.
      Specified by:
      initDefaultMatParams in class MaterialAdapter
      Parameters:
      material -
    • adaptMatParam

      protected com.jme3.material.MatParam adaptMatParam(com.jme3.material.MatParam param)
      Deprecated.
      Specified by:
      adaptMatParam in class MaterialAdapter