mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
GFX card profile config file logging moved to debug only
WIP mode of guiSliderCtrl to be a filled rectangle instead of a textured UI Fixed bug with guiTextEditCtrl losing focus updating history passing malformed strings Updated WIP options menu Editor/Project settings WIP Updated editor theme to be consistent, and feed off the editor settings Updated popup menus to reference renamed profiles Added more in-progress modules for examples/stress testing
This commit is contained in:
parent
226529fd1b
commit
f1777016b8
179 changed files with 10144 additions and 415 deletions
91
Templates/Modules/TestGrids/art/materials.cs
Normal file
91
Templates/Modules/TestGrids/art/materials.cs
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Copyright (c) 2012 GarageGames, LLC
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to
|
||||
// deal in the Software without restriction, including without limitation the
|
||||
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
// sell copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
singleton Material( Grid512_Black_Mat )
|
||||
{
|
||||
mapTo = "Grid512_Black_Mat";
|
||||
diffuseMap[0] = "512_black";
|
||||
materialTag0 = "TestMaterial";
|
||||
};
|
||||
|
||||
singleton Material( Grid512_Blue_Mat )
|
||||
{
|
||||
mapTo = "Grid512_Blue_Mat";
|
||||
diffuseMap[0] = "512_blue";
|
||||
materialTag0 = "TestMaterial";
|
||||
};
|
||||
|
||||
singleton Material( Grid512_ForestGreen_Mat )
|
||||
{
|
||||
mapTo = "Grid512_ForestGreen_Mat";
|
||||
diffuseMap[0] = "512_forestgreen";
|
||||
materialTag0 = "TestMaterial";
|
||||
};
|
||||
|
||||
singleton Material( Grid512_ForestGreenLines_Mat )
|
||||
{
|
||||
mapTo = "Grid512_ForestGreenLines_Mat";
|
||||
diffuseMap[0] = "512_forestgreen_lines";
|
||||
materialTag0 = "TestMaterial";
|
||||
};
|
||||
|
||||
singleton Material( Grid512_Green_Mat )
|
||||
{
|
||||
mapTo = "Grid512_Green_Mat";
|
||||
diffuseMap[0] = "512_green";
|
||||
materialTag0 = "TestMaterial";
|
||||
};
|
||||
|
||||
singleton Material( Grid512_Grey_Mat )
|
||||
{
|
||||
mapTo = "Grid512_Grey_Mat";
|
||||
diffuseMap[0] = "512_grey";
|
||||
materialTag0 = "TestMaterial";
|
||||
};
|
||||
|
||||
singleton Material( Grid512_GreyBase_Mat )
|
||||
{
|
||||
mapTo = "Grid512_GreyBase_Mat";
|
||||
diffuseMap[0] = "512_grey_base";
|
||||
materialTag0 = "TestMaterial";
|
||||
};
|
||||
|
||||
singleton Material( Grid512_Orange_Mat )
|
||||
{
|
||||
mapTo = "Grid512_Orange_Mat";
|
||||
diffuseMap[0] = "512_orange";
|
||||
materialTag0 = "TestMaterial";
|
||||
};
|
||||
|
||||
singleton Material( Grid512_OrangeLines_Mat )
|
||||
{
|
||||
mapTo = "Grid512_OrangeLines_Mat";
|
||||
diffuseMap[0] = "512_orange_lines";
|
||||
materialTag0 = "TestMaterial";
|
||||
};
|
||||
|
||||
singleton Material( Grid512_Red_Mat )
|
||||
{
|
||||
mapTo = "Grid512_Red_Mat";
|
||||
diffuseMap[0] = "512_red";
|
||||
materialTag0 = "TestMaterial";
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue