Some clean up in PBR j3MD

monkanim
Nehon 7 years ago
parent bcd97c22eb
commit 53f7f7490f
  1. 14
      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

Loading…
Cancel
Save