Skip to content

Commit c5405ea

Browse files
authored
PBRLighting: fix comment describing packed MetallicRoughnessMap (#1921)
Updated a comment about the MetallicRoughness map that previously said the Red channel is unused - changed to instead say that the red channel of MR map stores the AO value if AoPackedInMRMap is true.
1 parent 5664d59 commit c5405ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ MaterialDef PBR Lighting {
2828
Texture2D RoughnessMap -LINEAR
2929

3030
//Metallic and Roughness are packed respectively in the b and g channel of a single map
31-
// r: unspecified
31+
// r: AO (if AoPackedInMRMap is true)
3232
// g: Roughness
3333
// b: Metallic
3434
Texture2D MetallicRoughnessMap -LINEAR

0 commit comments

Comments
 (0)