Skip to content

Commit

Permalink
Viking PBR
Browse files Browse the repository at this point in the history
Parts2 updated manually, may need to update again after CobaltWolf#1569, or again with latest source psd
Temp workaround emit map
  • Loading branch information
Rodg88 authored and SofieBrink committed Nov 8, 2024
1 parent e36c8e0 commit ceddcf5
Show file tree
Hide file tree
Showing 21 changed files with 160 additions and 9 deletions.
81 changes: 81 additions & 0 deletions GameData/Bluedog_DB/Parts/ProbeExpansion/Viking/000_materials.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
SHABBY_MATERIAL_DEF
{
name = bluedog_Viking_Parts1_PBR

shader = Resurfaced/PackedMetal

TEXTURE
{
_MetalMap = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Parts_METAL
}
FLOAT
{
_MetalAlbedoMultiplier = 1.5
_MetalRedMult = 1
_MetalGreenMult = 0
_MetalBlueMult = 0
}
}
SHABBY_MATERIAL_DEF
{
name = bluedog_Viking_Parts2_PBR

shader = Resurfaced/PackedMetal

TEXTURE
{
_MetalMap = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Parts_METAL
_Emissive = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Parts2_EMIT
}
FLOAT
{
_MetalAlbedoMultiplier = 1.5
_MetalRedMult = 0
_MetalGreenMult = 1
_MetalBlueMult = 0
}
}
SHABBY_MATERIAL_DEF
{
name = bluedog_Viking_Parts3_PBR

shader = Resurfaced/PackedMetal

TEXTURE
{
_MetalMap = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Parts_METAL
}
FLOAT
{
_MetalAlbedoMultiplier = 1.5
_MetalRedMult = 0
_MetalGreenMult = 0
_MetalBlueMult = 1
}
}
SHABBY_MATERIAL_DEF
{
name = bluedog_Viking_Adapters_PBR

shader = Resurfaced/Standard

TEXTURE
{
_MetalMap = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Adapters_METAL
}
FLOAT
{
_MetalAlbedoMultiplier = 1.5
}
}
SHABBY_MATERIAL_DEF
{
name = bluedog_Viking_Blankets_PBR

shader = Resurfaced/Standard

FLOAT
{
_Metalness = 0
}
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ PART
{
model = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Bioshield_Decoupler
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Adapters_PBR
targetMaterial = bluedog_Viking_Adapters
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Parts3_PBR
targetMaterial = bluedog_Viking_Parts3
}
scale = 1
rescaleFactor = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ PART
{
model = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Orbiter_Core
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Parts1_PBR
targetMaterial = bluedog_Viking_Parts1
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Parts3_PBR
targetMaterial = bluedog_Viking_Parts3_Emit
}
rescaleFactor = 1
CrewCapacity = 0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ PART
name = bluedog_Viking_Orbiter_LaunchAdapter
module = Part
author = CobaltWolf
MODEL
{
model = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Orbiter_LaunchAdapter
}
MODEL
{
model = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Orbiter_LaunchAdapter
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Adapters_PBR
targetMaterial = bluedog_Viking_Adapters
}
scale = 1
rescaleFactor = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,26 @@ module = Part
author = CobaltWolf

// --- asset parameters ---
MODEL
{
model = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Orbiter_PropulsionSection

}
MODEL
{
model = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Orbiter_PropulsionSection
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Parts1_PBR
targetMaterial = bluedog_Viking_Parts1
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Parts2_PBR
targetMaterial = bluedog_Viking_Parts2
targetMaterial = bluedog_Viking_Parts2_Emit
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Blankets_PBR
targetMaterial = bluedog_Viking_ThermalBlankets
}
rescaleFactor = 1.0
scale = 1.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ PART
{
model = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Orbiter_SolarPanel
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Parts1_PBR
targetMaterial = bluedog_Viking_Parts1
}
rescaleFactor = 1
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ PART
{
model = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Orbiter_SolarPanel_Relay
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Parts1_PBR
targetMaterial = bluedog_Viking_Parts1
}
rescaleFactor = 1
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ PART
{
model = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Orbiter_highGainAntenna
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Parts1_PBR
targetMaterial = bluedog_Viking_Parts1
}
rescaleFactor = 1.0

NODE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ PART
{
model = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Orbiter_lowGainAntenna
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Parts1_PBR
targetMaterial = bluedog_Viking_Parts1
}
scale = 1
rescaleFactor = 1
//node_attach = 0.0, 0, 0.0, 0.0, -1.0, 0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ PART
{
model = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Orbiter_scanPlatform
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Parts2_PBR
targetMaterial = bluedog_Viking_Parts2
}
scale = 1
rescaleFactor = 1
//node_stack_bottom = 0.0, -0.198437, 0.0, 0.0, -1.0, 0.0, 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ PART
model = Bluedog_DB/Parts/ProbeExpansion/Viking/bluedog_Viking_Orbiter_starTracker
rotation = 0, 135, 0
}
SHABBY_MATERIAL_REPLACE
{
materialDef = bluedog_Viking_Parts2_PBR
targetMaterial = bluedog_Viking_Parts2
}
scale = 1
rescaleFactor = 1.0

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit ceddcf5

Please sign in to comment.