From: Mikko Rasa Date: Mon, 9 Feb 2015 17:41:17 +0000 (+0200) Subject: Use a shared white material for techniques X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=771e1724b44afb85cf673e85ef0f2e02ebb30344;p=r2c2.git Use a shared white material for techniques --- diff --git "a/data/M\303\244rklin/H0/ctrack/track.tech" "b/data/M\303\244rklin/H0/ctrack/track.tech" index 112fd96..86a8fc8 100644 --- "a/data/M\303\244rklin/H0/ctrack/track.tech" +++ "b/data/M\303\244rklin/H0/ctrack/track.tech" @@ -1,5 +1,6 @@ pass "" { + material "white.mat"; shader "default.shader"; texunit 0 diff --git a/data/r2c2/default.tech b/data/r2c2/default.tech index 64a39ac..c6641cb 100644 --- a/data/r2c2/default.tech +++ b/data/r2c2/default.tech @@ -1,10 +1,6 @@ pass "" { - material - { - diffuse 1.0 1.0 1.0 1.0; - ambient 1.0 1.0 1.0 1.0; - }; + material "white.mat"; shader "default.shader"; texunit 0 { diff --git a/data/r2c2/white.mat b/data/r2c2/white.mat new file mode 100644 index 0000000..191a222 --- /dev/null +++ b/data/r2c2/white.mat @@ -0,0 +1,4 @@ +diffuse 1.0 1.0 1.0 1.0; +ambient 1.0 1.0 1.0 1.0; +specular 0.25 0.25 0.25 1.0; +shininess 100;