mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-25 01:23:52 +00:00
Updating BaseGame to work with PBR, and a PBR example module
This commit is contained in:
parent
e83ec69292
commit
cedbd387d9
98 changed files with 6762 additions and 2889 deletions
Binary file not shown.
|
After Width: | Height: | Size: 6.1 KiB |
|
|
@ -0,0 +1,9 @@
|
|||
<ImageAsset
|
||||
canSave="true"
|
||||
canSaveDynamicFields="true"
|
||||
AssetName="Grid_512_orange_ALBEDO"
|
||||
imageFile="@assetFile=Grid_512_orange.png"
|
||||
useMips="true"
|
||||
isHDRImage="false"
|
||||
originalFilePath="E:/Gamedev/T3DMIT/clangtest/Templates/Full/game/core/art/grids/Grid_512_orange.png"
|
||||
VersionId="1" />
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<ShapeAsset
|
||||
canSave="true"
|
||||
canSaveDynamicFields="true"
|
||||
AssetName="Cube"
|
||||
fileName="@assetFile=Cube.fbx"
|
||||
isNewShape="1"
|
||||
materialSlot0="@Asset=StaticShapeTest:Grid_512_orange"
|
||||
originalFilePath="E:/Gamedev/T3DMIT/clangtest/My Projects/T3DPreview4_0/art/StarterContent/Cube.fbx"
|
||||
VersionId="1" />
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
singleton TSShapeConstructor(CubeFbx)
|
||||
{
|
||||
baseShape = "./Cube.fbx";
|
||||
};
|
||||
BIN
Templates/BaseGame/game/data/StaticShapeTest/Shapes/Cube.fbx
Normal file
BIN
Templates/BaseGame/game/data/StaticShapeTest/Shapes/Cube.fbx
Normal file
Binary file not shown.
|
|
@ -0,0 +1,8 @@
|
|||
<ShapeAsset
|
||||
canSave="true"
|
||||
canSaveDynamicFields="true"
|
||||
AssetName="Cylinder"
|
||||
fileName="@assetFile=Cylinder.fbx"
|
||||
isNewShape="1"
|
||||
originalFilePath="E:/Gamedev/T3DMIT/clangtest/My Projects/T3DPreview4_0/art/StarterContent/Cylinder.fbx"
|
||||
VersionId="1" />
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
singleton TSShapeConstructor(CylinderFbx)
|
||||
{
|
||||
baseShape = "./Cylinder.fbx";
|
||||
};
|
||||
BIN
Templates/BaseGame/game/data/StaticShapeTest/Shapes/Cylinder.fbx
Normal file
BIN
Templates/BaseGame/game/data/StaticShapeTest/Shapes/Cylinder.fbx
Normal file
Binary file not shown.
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
singleton Material(Grid_512_Orange)
|
||||
{
|
||||
mapTo = "Grid_512_orange";
|
||||
diffuseColor[0] = "0.8 0.8 0.8 1";
|
||||
diffuseMap[0] = "E:/Gamedev/T3DMIT/clangtest/Templates/Full/game/core/art/grids/Grid_512_orange.png";
|
||||
specular[0] = "0.8 0.8 0.8 1";
|
||||
specularPower[0] = "0.25";
|
||||
specularStrength[0] = "25";
|
||||
translucentBlendOp = "None";
|
||||
};
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
function StaticShapeTest::onCreate(%this)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
function StaticShapeTest::onDestroy(%this)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<ModuleDefinition
|
||||
canSave="true"
|
||||
canSaveDynamicFields="true"
|
||||
ModuleId="StaticShapeTest"
|
||||
VersionId="1"
|
||||
Group="Game"
|
||||
scriptFile="StaticShapeTest.cs"
|
||||
CreateFunction="onCreate"
|
||||
DestroyFunction="onDestroy">
|
||||
<DeclaredAssets
|
||||
canSave="true"
|
||||
canSaveDynamicFields="true"
|
||||
Extension="asset.taml"
|
||||
Recurse="true" />
|
||||
<AutoloadAssets
|
||||
canSave="true"
|
||||
canSaveDynamicFields="true"
|
||||
AssetType="ComponentAsset"
|
||||
Recurse="true" />
|
||||
<AutoloadAssets
|
||||
canSave="true"
|
||||
canSaveDynamicFields="true"
|
||||
AssetType="GUIAsset"
|
||||
Recurse="true" />
|
||||
</ModuleDefinition>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<MaterialAsset
|
||||
canSave="true"
|
||||
canSaveDynamicFields="true"
|
||||
AssetName="Grid_512_Orange"
|
||||
scriptFile="@assetFile=data/StaticShapeTest/materials/Grid_512_orange.cs"
|
||||
materialDefinitionName="Grid_512_Orange"
|
||||
originalFilePath="E:/Gamedev/T3DMIT/clangtest/Templates/Full/game/core/art/grids/Grid_512_orange.png"
|
||||
shaderGraph="data/StaticShapeTest/materials/Grid_512_orange.sgf"
|
||||
VersionId="1" />
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
singleton Material(Grid_512_orange) {
|
||||
mapTo = "Grid_512_orange";
|
||||
DiffuseMap[0] = "data/StaticShapeTest/Images/Grid_512_orange.png";
|
||||
DiffuseMapAsset[0] = "StaticShapeTest:Grid_512_orange_ALBEDO";
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
Loading…
Add table
Add a link
Reference in a new issue