Browse Source

PBRLighting.j3md: annotate LightMap as being a LINEAR texture

Stephen Gold 1 year ago
parent
commit
6f9f91b04e

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

@@ -69,7 +69,7 @@ MaterialDef PBR Lighting {
         Boolean HorizonFade
 
         // Set to Use Lightmap
-        Texture2D LightMap
+        Texture2D LightMap -LINEAR
 
         // A scalar multiplier controlling the amount of occlusion applied.
         // A value of `0.0` means no occlusion. A value of `1.0` means full occlusion.