Refactor material parsing and loading

This should hopefully pave the way for usable module switching using B9PS
This commit is contained in:
2020-06-02 00:53:17 -07:00
parent 114fc745f0
commit 7e520f97ca
9 changed files with 133 additions and 151 deletions

View File

@ -47,24 +47,22 @@ PART
decalFront = Decal-Front
decalBack = Decal-Back
decalShader = ConformalDecals/Feature/Bumped
MATERIAL
useBaseNormal = false
TEXTURE
{
shader = ConformalDecals/Feature/Bumped
name = _Decal
textureURL = ConformalDecals/Assets/Tortilla-diffuse
isMain = true
}
TEXTURE
{
name = _Decal
textureURL = ConformalDecals/Assets/Tortilla-diffuse
isMain = true
}
TEXTURE
{
name = _BumpMap
textureURL = ConformalDecals/Assets/Tortilla-normal
isNormalMap = true
}
TEXTURE
{
name = _BumpMap
textureURL = ConformalDecals/Assets/Tortilla-normal
isNormalMap = true
}
}
}