diff --git a/Templates/Modules/FPSGameplay/art/shapes/materials.cs b/Templates/Modules/FPSGameplay/art/shapes/materials.cs index f413f54b0..3e48872a7 100644 --- a/Templates/Modules/FPSGameplay/art/shapes/materials.cs +++ b/Templates/Modules/FPSGameplay/art/shapes/materials.cs @@ -118,44 +118,4 @@ singleton Material(noshapetext_noshape_mat) 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 --- - +//--- noshapetext.dae MATERIALS END --- \ No newline at end of file diff --git a/Templates/Modules/FPSGameplay/art/shapes/base-normal.png b/Templates/Modules/FPSGameplay/art/shapes/portal/base-normal.png similarity index 100% rename from Templates/Modules/FPSGameplay/art/shapes/base-normal.png rename to Templates/Modules/FPSGameplay/art/shapes/portal/base-normal.png diff --git a/Templates/Modules/FPSGameplay/art/shapes/base.png b/Templates/Modules/FPSGameplay/art/shapes/portal/base.png similarity index 100% rename from Templates/Modules/FPSGameplay/art/shapes/base.png rename to Templates/Modules/FPSGameplay/art/shapes/portal/base.png diff --git a/Templates/Modules/FPSGameplay/art/shapes/lightray.png b/Templates/Modules/FPSGameplay/art/shapes/portal/lightray.png similarity index 100% rename from Templates/Modules/FPSGameplay/art/shapes/lightray.png rename to Templates/Modules/FPSGameplay/art/shapes/portal/lightray.png diff --git a/Templates/Modules/FPSGameplay/art/shapes/portal/materials.cs b/Templates/Modules/FPSGameplay/art/shapes/portal/materials.cs new file mode 100644 index 000000000..a032f3313 --- /dev/null +++ b/Templates/Modules/FPSGameplay/art/shapes/portal/materials.cs @@ -0,0 +1,25 @@ + +singleton Material(portal_base_mat) +{ + mapTo = "portal_base"; + diffuseMap[0] = "data/FPSGameplay/art/shapes/portal/base.png"; + normalMap[0] = "data/FPSGameplay/art/shapes/portal/base-normal.png"; +}; + +singleton Material(portal_top_mat) +{ + mapTo = "portal_top"; + diffuseMap[0] = "data/FPSGameplay/art/shapes/portal/top.png"; + normalMap[0] = "data/FPSGameplay/art/shapes/portal/top-normal.png"; + emissive[0] = "1"; +}; + +singleton Material(portal_lightray_mat) +{ + mapTo = "portal_lightray"; + diffuseMap[0] = "data/FPSGameplay/art/shapes/portal/lightray.png"; + translucent = "1"; + translucentBlendOp = "AddAlpha"; + doubleSided = "1"; + emissive[0] = "1"; +}; diff --git a/Templates/Modules/FPSGameplay/art/shapes/portal.dts b/Templates/Modules/FPSGameplay/art/shapes/portal/portal.dts similarity index 100% rename from Templates/Modules/FPSGameplay/art/shapes/portal.dts rename to Templates/Modules/FPSGameplay/art/shapes/portal/portal.dts diff --git a/Templates/Modules/FPSGameplay/art/shapes/top-normal.png b/Templates/Modules/FPSGameplay/art/shapes/portal/top-normal.png similarity index 100% rename from Templates/Modules/FPSGameplay/art/shapes/top-normal.png rename to Templates/Modules/FPSGameplay/art/shapes/portal/top-normal.png diff --git a/Templates/Modules/FPSGameplay/art/shapes/top.png b/Templates/Modules/FPSGameplay/art/shapes/portal/top.png similarity index 100% rename from Templates/Modules/FPSGameplay/art/shapes/top.png rename to Templates/Modules/FPSGameplay/art/shapes/portal/top.png