mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
correct materials.cs
This commit is contained in:
parent
9608379ac8
commit
9854aaffa2
3 changed files with 16 additions and 148 deletions
16
Templates/BaseGame/game/tools/shapes/materials.cs
Normal file
16
Templates/BaseGame/game/tools/shapes/materials.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
//--- noshape.dts MATERIALS BEGIN ---
|
||||||
|
singleton Material(noshape_NoShape)
|
||||||
|
{
|
||||||
|
mapTo = "NoShape";
|
||||||
|
|
||||||
|
diffuseMap[0] = "";
|
||||||
|
diffuseColor[0] = "0.8 0.003067 0 .8";
|
||||||
|
emissive[0] = 0;
|
||||||
|
doubleSided = false;
|
||||||
|
translucent = 1;
|
||||||
|
translucentBlendOp = "LerpAlpha";
|
||||||
|
castShadows = false;
|
||||||
|
materialTag0 = "WorldEditor";
|
||||||
|
};
|
||||||
|
|
||||||
|
//--- noshape.dts MATERIALS END ---
|
||||||
|
|
@ -65,57 +65,3 @@ singleton Material(CameraMat)
|
||||||
};
|
};
|
||||||
|
|
||||||
//--- camera.dts MATERIALS END ---
|
//--- camera.dts MATERIALS END ---
|
||||||
//--- noshape.dts MATERIALS BEGIN ---
|
|
||||||
singleton Material(noshape_NoShape)
|
|
||||||
{
|
|
||||||
mapTo = "NoShape";
|
|
||||||
|
|
||||||
diffuseMap[0] = "";
|
|
||||||
|
|
||||||
diffuseColor[0] = "0.8 0.003067 0 .8";
|
|
||||||
emissive[0] = 0;
|
|
||||||
|
|
||||||
doubleSided = false;
|
|
||||||
translucent = 1;
|
|
||||||
translucentBlendOp = "LerpAlpha";
|
|
||||||
castShadows = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
//--- noshape.dts MATERIALS END ---
|
|
||||||
|
|
||||||
//--- noshapetext.dae MATERIALS BEGIN ---
|
|
||||||
singleton Material(noshapetext_lambert1)
|
|
||||||
{
|
|
||||||
mapTo = "lambert1";
|
|
||||||
|
|
||||||
diffuseMap[0] = "";
|
|
||||||
|
|
||||||
diffuseColor[0] = "0.4 0.4 0.4 1";
|
|
||||||
specular[0] = "1 1 1 1";
|
|
||||||
specularPower[0] = 8;
|
|
||||||
pixelSpecular[0] = false;
|
|
||||||
emissive[0] = true;
|
|
||||||
|
|
||||||
doubleSided = false;
|
|
||||||
translucent = false;
|
|
||||||
translucentBlendOp = "None";
|
|
||||||
};
|
|
||||||
|
|
||||||
singleton Material(noshapetext_noshape_mat)
|
|
||||||
{
|
|
||||||
mapTo = "noshape_mat";
|
|
||||||
|
|
||||||
diffuseMap[0] = "";
|
|
||||||
|
|
||||||
diffuseColor[0] = "0.4 0.3504 0.363784 0.33058";
|
|
||||||
specular[0] = "1 1 1 1";
|
|
||||||
specularPower[0] = 8;
|
|
||||||
pixelSpecular[0] = false;
|
|
||||||
emissive[0] = true;
|
|
||||||
|
|
||||||
doubleSided = false;
|
|
||||||
translucent = true;
|
|
||||||
translucentBlendOp = "None";
|
|
||||||
};
|
|
||||||
|
|
||||||
//--- noshapetext.dae MATERIALS END ---
|
|
||||||
|
|
@ -65,97 +65,3 @@ singleton Material(CameraMat)
|
||||||
};
|
};
|
||||||
|
|
||||||
//--- camera.dts MATERIALS END ---
|
//--- camera.dts MATERIALS END ---
|
||||||
//--- noshape.dts MATERIALS BEGIN ---
|
|
||||||
singleton Material(noshape_NoShape)
|
|
||||||
{
|
|
||||||
mapTo = "NoShape";
|
|
||||||
|
|
||||||
diffuseMap[0] = "";
|
|
||||||
|
|
||||||
diffuseColor[0] = "0.8 0.003067 0 .8";
|
|
||||||
emissive[0] = 0;
|
|
||||||
|
|
||||||
doubleSided = false;
|
|
||||||
translucent = 1;
|
|
||||||
translucentBlendOp = "LerpAlpha";
|
|
||||||
castShadows = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
//--- noshape.dts MATERIALS END ---
|
|
||||||
|
|
||||||
//--- noshapetext.dae MATERIALS BEGIN ---
|
|
||||||
singleton Material(noshapetext_lambert1)
|
|
||||||
{
|
|
||||||
mapTo = "lambert1";
|
|
||||||
|
|
||||||
diffuseMap[0] = "";
|
|
||||||
|
|
||||||
diffuseColor[0] = "0.4 0.4 0.4 1";
|
|
||||||
specular[0] = "1 1 1 1";
|
|
||||||
specularPower[0] = 8;
|
|
||||||
pixelSpecular[0] = false;
|
|
||||||
emissive[0] = true;
|
|
||||||
|
|
||||||
doubleSided = false;
|
|
||||||
translucent = false;
|
|
||||||
translucentBlendOp = "None";
|
|
||||||
};
|
|
||||||
|
|
||||||
singleton Material(noshapetext_noshape_mat)
|
|
||||||
{
|
|
||||||
mapTo = "noshape_mat";
|
|
||||||
|
|
||||||
diffuseMap[0] = "";
|
|
||||||
|
|
||||||
diffuseColor[0] = "0.4 0.3504 0.363784 0.33058";
|
|
||||||
specular[0] = "1 1 1 1";
|
|
||||||
specularPower[0] = 8;
|
|
||||||
pixelSpecular[0] = false;
|
|
||||||
emissive[0] = true;
|
|
||||||
|
|
||||||
doubleSided = false;
|
|
||||||
translucent = true;
|
|
||||||
translucentBlendOp = "None";
|
|
||||||
};
|
|
||||||
|
|
||||||
//--- noshapetext.dae MATERIALS END ---
|
|
||||||
|
|
||||||
//--- portal MATERIALS BEGIN ---
|
|
||||||
|
|
||||||
singleton Material(portal5_portal_top)
|
|
||||||
{
|
|
||||||
mapTo = "portal_top";
|
|
||||||
|
|
||||||
diffuseMap[0] = "top";
|
|
||||||
normalMap[0] = "top-normal";
|
|
||||||
|
|
||||||
diffuseColor[0] = "0.4 0.4 0.4 1";
|
|
||||||
specular[0] = "0.5 0.5 0.5 1";
|
|
||||||
specularPower[0] = 2;
|
|
||||||
pixelSpecular[0] = false;
|
|
||||||
emissive[0] = true;
|
|
||||||
|
|
||||||
doubleSided = false;
|
|
||||||
translucent = false;
|
|
||||||
translucentBlendOp = "None";
|
|
||||||
};
|
|
||||||
|
|
||||||
singleton Material(portal5_portal_lightray)
|
|
||||||
{
|
|
||||||
mapTo = "portal_lightray";
|
|
||||||
|
|
||||||
diffuseMap[0] = "lightray";
|
|
||||||
|
|
||||||
diffuseColor[0] = "0.4 0.4 0.4 0.64462";
|
|
||||||
specular[0] = "0.5 0.5 0.5 1";
|
|
||||||
specularPower[0] = 2;
|
|
||||||
pixelSpecular[0] = false;
|
|
||||||
emissive[0] = true;
|
|
||||||
|
|
||||||
doubleSided = 1;
|
|
||||||
translucent = true;
|
|
||||||
translucentBlendOp = "AddAlpha";
|
|
||||||
castShadows = "0";
|
|
||||||
};
|
|
||||||
//--- portal MATERIALS END ---
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue