]> git.tdb.fi Git - libs/gl.git/commitdiff
Adjust and re-export desertpillars data with new features
authorMikko Rasa <tdb@tdb.fi>
Mon, 11 Oct 2021 13:52:11 +0000 (16:52 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 11 Oct 2021 13:52:58 +0000 (16:52 +0300)
demos/desertpillars/data/exported/Iron.mat [new file with mode: 0644]
demos/desertpillars/data/exported/Iron.tech
demos/desertpillars/data/exported/Stone.tech
demos/desertpillars/data/exported/Tiles028.tech
demos/desertpillars/scene.blend

diff --git a/demos/desertpillars/data/exported/Iron.mat b/demos/desertpillars/data/exported/Iron.mat
new file mode 100644 (file)
index 0000000..b987df2
--- /dev/null
@@ -0,0 +1,5 @@
+type pbr;
+base_color 0.550000 0.570000 0.570000 1.00000;
+metalness 1.00000;
+roughness 0.200000;
+emission 0.00000 0.00000 0.00000;
index 9fbe305f20a5a2c1cd6648bb366374718313bb53..1e55ffba5676e0d59da2e281db42cba3384e34f4 100644 (file)
@@ -1,13 +1,6 @@
 method ""
 {
-       material
-       {
-               type pbr;
-               base_color 0.550000 0.570000 0.570000 1.00000;
-               metalness 1.00000;
-               roughness 0.200000;
-               emission 0.00000 0.00000 0.00000;
-       };
+       material "Iron.mat";
        shader "sphere.shader";
 };
 method "shadow"
index 4faebac98f9c36ccc6ea5642935615c8efd98077..ec9a0b6ff857ba0b2861e5a78c8281eda493d9a3 100644 (file)
@@ -15,5 +15,9 @@ method ""
 };
 method "shadow"
 {
-       shader "_occluder.glsl.shader";
+       shader "occluder.glsl.shader";
+};
+method "shadow_thsm"
+{
+       shader "occluder_thsm.glsl.shader";
 };
index 6729b0107660a2c38a1422b5a5a587acf4404a30..4a656d052c81bf000ab4935e480ee290d88616da 100644 (file)
@@ -15,5 +15,9 @@ method ""
 };
 method "shadow"
 {
-       shader "_occluder.glsl.shader";
+       shader "occluder.glsl.shader";
+};
+method "shadow_thsm"
+{
+       shader "occluder_thsm.glsl.shader";
 };
index 5d8d43f96cc2a77abb06e42e0dac11a245734153..2a73dd583de3351201363a5259573ecdd802dcfd 100644 (file)
Binary files a/demos/desertpillars/scene.blend and b/demos/desertpillars/scene.blend differ