Kaynağa Gözat

Add files via upload

Ryan McDonough 7 ay önce
ebeveyn
işleme
f6839ff4f7

+ 21 - 0
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/Modular/PBRTerrainTextureLayer.glsl

@@ -0,0 +1,21 @@
+#ifndef __TERRAIN_LAYER_MODULE__
+    #define __TERRAIN_LAYER_MODULE__
+
+    #ifndef PBRTerrainTextureLayer
+        #struct StdPBRTerrainTextureLayer
+
+            float blendValue;
+
+            vec4 albedo;
+            float alpha;
+            vec3 normal;
+            float height;  //parallax unused currently
+            float metallic;             
+            float roughness;
+            float ao;
+            vec4 emission;
+
+        #endstruct
+        #define PBRTerrainTextureLayer StdPBRTerrainTextureLayer    
+    #endif
+#endif