mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
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:
commit
42f8a94cd6
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 |
39
Templates/BaseGame/game/tools/convexEditor/materials.cs
Normal file
39
Templates/BaseGame/game/tools/convexEditor/materials.cs
Normal 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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue