Browse Source

Update author in MaterialFog.glsllib

Ryan McDonough 7 months ago
parent
commit
f0553caf76

+ 3 - 4
jme3-core/src/main/resources/Common/ShaderLib/MaterialFog.glsllib

@@ -1,7 +1,7 @@
+//author @jayfella
 #ifndef __MATERIAL_FOG_UTIL__
 #ifndef __MATERIAL_FOG_UTIL__
     #define __MATERIAL_FOG_UTIL__
     #define __MATERIAL_FOG_UTIL__
 
 
-
     vec4 getFogLinear(in vec4 diffuseColor, in vec4 fogColor, in float start, in float end, in float distance) {
     vec4 getFogLinear(in vec4 diffuseColor, in vec4 fogColor, in float start, in float end, in float distance) {
 
 
         float fogFactor = (end - distance) / (end - start);
         float fogFactor = (end - distance) / (end - start);
@@ -39,8 +39,7 @@
 
 
         #ifdef FOG_EXPSQ
         #ifdef FOG_EXPSQ
             uniform float m_ExpSqFog;        
             uniform float m_ExpSqFog;        
-        #endif
-        
+        #endif        
 
 
         vec4 MaterialFog_calculateFogColor(in vec4 fragColor){
         vec4 MaterialFog_calculateFogColor(in vec4 fragColor){
             #ifdef FOG_LINEAR
             #ifdef FOG_LINEAR
@@ -54,7 +53,7 @@
             #endif
             #endif
 
 
             return fragColor;
             return fragColor;
-        }           
+        }          
 
 
     #endif   
     #endif   
 #endif
 #endif