]> git.tdb.fi Git - libs/gl.git/blobdiff - demos/forestpond/data/exported/Terrain.tech
Use a splat material for the terrain in forest pond
[libs/gl.git] / demos / forestpond / data / exported / Terrain.tech
diff --git a/demos/forestpond/data/exported/Terrain.tech b/demos/forestpond/data/exported/Terrain.tech
new file mode 100644 (file)
index 0000000..1682450
--- /dev/null
@@ -0,0 +1,38 @@
+method ""
+{
+       material
+       {
+               type splat;
+               base_color_storage SRGB8 2048 2048;
+               roughness_storage R8 2048 2048;
+               normal_storage RGB8 2048 2048;
+               sub
+               {
+                       base_color_map "Moss001_2K_Color.jpg";
+                       tint 1.00000 1.00000 1.00000 1.00000;
+                       metalness 0.00000;
+                       roughness_map "Moss001_2K_Roughness.jpg_R.mdr";
+                       normal_map "Moss001_2K_NormalGL.jpg";
+                       emission 0.00000 0.00000 0.00000;
+               };
+               sub
+               {
+                       base_color_map "Ground015_2K_Color.jpg";
+                       tint 0.150000 0.150000 0.150000 1.00000;
+                       metalness 0.00000;
+                       roughness_map "Ground015_2K_Roughness.jpg_R.mdr";
+                       normal_map "Ground015_2K_NormalGL.jpg";
+                       emission 0.00000 0.00000 0.00000;
+               };
+               sampler "linear_mip.samp";
+       };
+       receive_shadows true;
+};
+method "shadow"
+{
+       shader "occluder.glsl.shader";
+};
+method "shadow_thsm"
+{
+       shader "occluder_thsm.glsl.shader";
+};