소스 검색

Add files via upload

Ryan McDonough 7 달 전
부모
커밋
f6839ff4f7
1개의 변경된 파일21개의 추가작업 그리고 0개의 파일을 삭제
  1. 21 0
      jme3-terrain/src/main/resources/Common/MatDefs/Terrain/Modular/PBRTerrainTextureLayer.glsl

+ 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