]> git.tdb.fi Git - libs/gl.git/blob - demos/forestpond/data/exported/Tree_1Mat.tech
Use a splat material for the terrain in forest pond
[libs/gl.git] / demos / forestpond / data / exported / Tree_1Mat.tech
1 method ""
2 {
3         material
4         {
5                 type pbr;
6                 base_color_map "Tree_1Mat_baseColor.png.tex";
7                 tint 1.00000 1.00000 1.00000 1.00000;
8                 metalness 0.00000;
9                 roughness 0.957705;
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 };
20 method "shadow"
21 {
22         shader "occluder_masked.shader";
23         texture "alpha_map"
24         {
25                 texture "Tree_1Mat_baseColor.png.tex";
26                 sampler "linear_mip.samp";
27         };
28         uniforms
29         {
30                 uniform "alpha_cutoff" 0.500000;
31         };
32 };
33 method "shadow_thsm"
34 {
35         shader "occluder_thsm_masked.shader";
36         texture "alpha_map"
37         {
38                 texture "Tree_1Mat_baseColor.png.tex";
39                 sampler "linear_mip.samp";
40         };
41         uniforms
42         {
43                 uniform "alpha_cutoff" 0.500000;
44         };
45 };