Merge pull request #291 from Areloch/ConvexProxyMaterials

Adds in the missing materials used for the Convex Proxies for triggers, zones, etc.
This commit is contained in:
Brian Roberts 2020-08-16 04:26:05 -05:00 committed by GitHub
commit 42f8a94cd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 39 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -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;
};