Pārlūkot izejas kodu

Merge pull request #291 from Areloch/ConvexProxyMaterials

Adds in the missing materials used for the Convex Proxies for triggers, zones, etc.
Brian Roberts 5 gadi atpakaļ
vecāks
revīzija
42f8a94cd6

BIN
Templates/BaseGame/game/tools/convexEditor/images/occluderProxyImage.png


BIN
Templates/BaseGame/game/tools/convexEditor/images/portalProxyImage.png


BIN
Templates/BaseGame/game/tools/convexEditor/images/triggerProxyImage.png


BIN
Templates/BaseGame/game/tools/convexEditor/images/zoneProxyImage.png


+ 39 - 0
Templates/BaseGame/game/tools/convexEditor/materials.cs

@@ -0,0 +1,39 @@
+singleton Material( ZoneProxyMaterial )
+{
+   mapTo = "ZoneProxyMaterial";
+   diffuseMap[0] = "tools/convexEditor/images/zoneProxyImage";
+   materialTag0 = "TestMaterial";
+   translucent = true;
+   translucentBlendOp = "LerpAlpha";
+   castShadows = false;
+};
+
+singleton Material( TriggerProxyMaterial )
+{
+   mapTo = "TriggerProxyMaterial";
+   diffuseMap[0] = "./images/triggerProxyImage";
+   materialTag0 = "TestMaterial";
+   translucent = true;
+   translucentBlendOp = "PreMul";
+   castShadows = false;
+};
+
+singleton Material( PortalProxyMaterial )
+{
+   mapTo = "PortalProxyMaterial";
+   diffuseMap[0] = "./images/portalProxyImage";
+   materialTag0 = "TestMaterial";
+   translucent = true;
+   translucentBlendOp = "PreMul";
+   castShadows = false;
+};
+
+singleton Material( OccluderProxyMaterial )
+{
+   mapTo = "OccluderProxyMaterial";
+   diffuseMap[0] = "./images/occluderProxyImage";
+   materialTag0 = "TestMaterial";
+   translucent = true;
+   translucentBlendOp = "PreMul";
+   castShadows = false;
+};