Updating BaseGame to work with PBR, and a PBR example module

This commit is contained in:
Areloch 2019-05-08 01:27:51 -05:00
parent e83ec69292
commit cedbd387d9
98 changed files with 6762 additions and 2889 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View file

@ -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" />

View file

@ -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" />

View file

@ -0,0 +1,5 @@
singleton TSShapeConstructor(CubeFbx)
{
baseShape = "./Cube.fbx";
};

View file

@ -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" />

View file

@ -0,0 +1,5 @@
singleton TSShapeConstructor(CylinderFbx)
{
baseShape = "./Cylinder.fbx";
};

View file

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

View file

@ -0,0 +1,10 @@
function StaticShapeTest::onCreate(%this)
{
}
function StaticShapeTest::onDestroy(%this)
{
}

View file

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

View file

@ -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" />

View file

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