]> git.tdb.fi Git - libs/gl.git/blob - demos/forestpond/data/exported/grass.tech
Use a splat material for the terrain in forest pond
[libs/gl.git] / demos / forestpond / data / exported / grass.tech
1 method ""
2 {
3         material
4         {
5                 type pbr;
6                 base_color_map "grass_baseColor.png.tex";
7                 tint 1.00000 1.00000 1.00000 1.00000;
8                 metalness 0.00000;
9                 roughness 0.600000;
10                 emission 0.00000 0.00000 0.00000;
11                 sampler "linear_mip.samp";
12                 alpha_cutoff 0.500000;
13         };
14         blend
15         {
16                 alpha_to_coverage true;
17         };
18         receive_shadows true;
19         instancing true;
20 };
21 method "shadow"
22 {
23         shader "occluder_masked_instanced.shader";
24         texture "alpha_map"
25         {
26                 texture "grass_baseColor.png.tex";
27                 sampler "linear_mip.samp";
28         };
29         uniforms
30         {
31                 uniform "alpha_cutoff" 0.500000;
32         };
33 };
34 method "shadow_thsm"
35 {
36         shader "occluder_thsm_masked_instanced.shader";
37         texture "alpha_map"
38         {
39                 texture "grass_baseColor.png.tex";
40                 sampler "linear_mip.samp";
41         };
42         uniforms
43         {
44                 uniform "alpha_cutoff" 0.500000;
45         };
46 };