]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/util/RenderConstants.hxx
Work around apparent OSG 3.2.0 normal binding bug.
[simgear.git] / simgear / scene / util / RenderConstants.hxx
index 184b9abc9e9bc20f7db41a5c8759784979f8db37..eec6ac952bfe3a7a3956426402562e253b07712d 100644 (file)
@@ -43,7 +43,9 @@ enum NodeMask {
     BACKGROUND_BIT = (1 << 11),
     // Everything else that isn't terrain. Initially for clouds;
     // eventually for other models?
-    MODEL_BIT = (1 << 12)
+    MODEL_BIT = (1 << 12),
+    MODELLIGHT_BIT = (1 << 13),
+    PERMANENTLIGHT_BIT = (1 << 14)
 };
 
 // Theory of bin numbering:
@@ -51,8 +53,8 @@ enum NodeMask {
 // Normal opaque objects are assigned bin 0.
 //
 // Random objects like trees may have transparency, but there are too
-// many to depth sort. By drawing them after the terrain we can at
-// least keep the sky under the ground from poking through.
+// many to depth sort individually. By drawing them after the terrain
+// we can at least keep the sky under the ground from poking through.
 //
 // Point lights blend with the terrain to simulate attenuation but
 // should completely obscure any transparent geometry behind