浏览代码

Some clean up in PBR j3MD

Nehon 7 年之前
父节点
当前提交
53f7f7490f
共有 1 个文件被更改,包括 3 次插入11 次删除
  1. 3 11
      jme3-core/src/main/resources/Common/MatDefs/Light/PBRLighting.j3md

+ 3 - 11
jme3-core/src/main/resources/Common/MatDefs/Light/PBRLighting.j3md

@@ -28,6 +28,9 @@ MaterialDef PBR Lighting {
         Texture2D RoughnessMap -LINEAR
 
         //Metallic and Roughness are packed respectively in the b and g channel of a single map
+        // r: unspecified
+        // g: Roughness
+        // b: Metallic
         Texture2D MetallicRoughnessMap -LINEAR
         
         // Texture of the emissive parts of the material
@@ -47,17 +50,6 @@ MaterialDef PBR Lighting {
         Color Specular : 1.0 1.0 1.0 1.0
         Float Glossiness : 1.0
 
-        Vector4 ProbeData
-
-        // Prefiltered Env Map for indirect specular lighting
-        TextureCubeMap PrefEnvMap -LINEAR
-        
-        // Irradiance map for indirect diffuse lighting
-        TextureCubeMap IrradianceMap -LINEAR
-
-        //integrate BRDF map for indirect Lighting
-        Texture2D IntegrateBRDF -LINEAR
-
         // Parallax/height map
         Texture2D ParallaxMap -LINEAR