[Orxonox-commit 7540] r12143 - data/branches/Shader_HS18/materials/BumpMapping

wiesep at orxonox.net wiesep at orxonox.net
Wed Dec 5 10:40:19 CET 2018


Author: wiesep
Date: 2018-12-05 10:40:19 +0100 (Wed, 05 Dec 2018)
New Revision: 12143

Modified:
   data/branches/Shader_HS18/materials/BumpMapping/BumpMap.material
Log:
Added comment

Modified: data/branches/Shader_HS18/materials/BumpMapping/BumpMap.material
===================================================================
--- data/branches/Shader_HS18/materials/BumpMapping/BumpMap.material	2018-12-05 09:36:02 UTC (rev 12142)
+++ data/branches/Shader_HS18/materials/BumpMapping/BumpMap.material	2018-12-05 09:40:19 UTC (rev 12143)
@@ -9,6 +9,7 @@
           // base colours, not needed for rendering, but as information
           // to lighting pass categorisation routine
           diffuse 0 0 0
+          // need to prevent flickering
           depth_write on
           depth_bias 0
 
@@ -21,6 +22,8 @@
             // do this for each light
             iteration once_per_light
             scene_blend add
+
+            // need to prevent flickering
             depth_write on
             depth_bias 1
 
@@ -85,6 +88,7 @@
             // base colours, not needed for rendering, but as information
             // to lighting pass categorisation routine
             lighting off
+            // need to prevent flickering
             depth_write on
             depth_bias 2
 



More information about the Orxonox-commit mailing list