]> git.tdb.fi Git - libs/gl.git/blobdiff - demos/forestpond/data/exported/grass.tech
Begin creating a new demo program
[libs/gl.git] / demos / forestpond / data / exported / grass.tech
diff --git a/demos/forestpond/data/exported/grass.tech b/demos/forestpond/data/exported/grass.tech
new file mode 100644 (file)
index 0000000..2d5fd47
--- /dev/null
@@ -0,0 +1,41 @@
+method ""
+{
+       material
+       {
+               type pbr;
+               base_color_map "grass_baseColor.png.tex";
+               metalness 0.00000;
+               roughness 0.600000;
+               emission 0.00000 0.00000 0.00000;
+               sampler "linear_mip.samp";
+               alpha_cutoff 0.500000;
+       };
+       receive_shadows true;
+       instancing true;
+};
+method "shadow"
+{
+       shader "occluder_masked_instanced.shader";
+       texture "alpha_map"
+       {
+               texture "grass_baseColor.png.tex";
+               sampler "linear_mip.samp";
+       };
+       uniforms
+       {
+               uniform "alpha_cutoff" 0.500000;
+       };
+};
+method "shadow_thsm"
+{
+       shader "occluder_thsm_masked_instanced.shader";
+       texture "alpha_map"
+       {
+               texture "grass_baseColor.png.tex";
+               sampler "linear_mip.samp";
+       };
+       uniforms
+       {
+               uniform "alpha_cutoff" 0.500000;
+       };
+};