Skip to content

Commit

Permalink
Disable blanket TU patches if Deferred is installed (#239)
Browse files Browse the repository at this point in the history
* Disable blanket TU patches if Deferred is installed

* Leave SSTU stuff alone, it's actually PBR
  • Loading branch information
Capkirk123 authored Aug 11, 2024
1 parent 78ba285 commit d058d15
Showing 1 changed file with 11 additions and 26 deletions.
37 changes: 11 additions & 26 deletions GameData/ROEngines/Compatibility/ROE-TexturesUnlimited.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@REFLECTION_CONFIG[default]:NEEDS[TexturesUnlimited]
@REFLECTION_CONFIG[default]:NEEDS[TexturesUnlimited,!zzz_Deferred]
{
@enabled = True
}
// ============================================================================
// Catch All Config for all Metallic Engines
// For Generic, unpainted and polished metal
// ============================================================================
KSP_MODEL_SHADER
KSP_MODEL_SHADER:NEEDS[!zzz_Deferred]
{
name = ROE-MetallicEngines

Expand Down Expand Up @@ -157,7 +157,7 @@ KSP_MODEL_SHADER
}
}

+KSP_MODEL_SHADER[ROE-MetallicEngines]
+KSP_MODEL_SHADER[ROE-MetallicEngines]:NEEDS[!zzz_Deferred]
{
@name = ROE-MetallicRD180

Expand Down Expand Up @@ -199,28 +199,12 @@ KSP_MODEL_SHADER
// ============================================================================
// All SSTU Engines
// ============================================================================
//These have native PBR, let them run even with deferred
KSP_MODEL_SHADER
{
name = ROE-SSTUEngines
//model = ROEngines/Assets/SSTU/SC-ENG-RL10B-2
model = ROEngines/Assets/SSTU/SC-ENG-RL10A-5
model = ROEngines/Assets/SSTU/SC-ENG-RL10A-4
model = ROEngines/Assets/SSTU/SC-ENG-RL10A-3
model = ROEngines/Assets/SSTU/SC-ENG-RL10C-Pap
model = ROEngines/Assets/SSTU/SC-ENG-RD-181
//model = ROEngines/Assets/SSTU/SC-ENG-RD-180
model = ROEngines/Assets/SSTU/SC-ENG-RD-171
model = ROEngines/Assets/SSTU/SC-ENG-RD-0110
model = ROEngines/Assets/SSTU/SC-ENG-RD-108A
model = ROEngines/Assets/SSTU/SC-ENG-RD-107A
model = ROEngines/Assets/SSTU/SC-ENG-J-2X
//model = ROEngines/Assets/SSTU/SC-ENG-J-2
//model = ROEngines/Assets/SSTU/SC-ENG-F1B
model = ROEngines/Assets/SSTU/SC-ENG-AJ10-190
//model = ROEngines/Assets/SSTU/SC-ENG-AJ10-137
model = ROEngines/Assets/SSTU/SC-ENG-LR-81-8096
model = ROEngines/Assets/SSTU/SC-ENG-LR-81-8048
//model = ROEngines/Assets/SSTU/SC-ENG-RS-68
model = ROEngines/Assets/SSTU/SC-ENG-J-2X
model = ROEngines/Assets/SSTU/SC-ENG-Merlin-1A
model = ROEngines/Assets/SSTU/SC-ENG-Merlin-1C
model = ROEngines/Assets/SSTU/SC-ENG-Merlin-1CV
Expand All @@ -237,6 +221,7 @@ KSP_MODEL_SHADER
// ============================================================================
// All SSTUKatniss Engines
// ============================================================================
//These have native PBR, let them run even with deferred
KSP_MODEL_SHADER
{
name = ROE-SSTUkatnissEngines
Expand All @@ -259,7 +244,7 @@ KSP_MODEL_SHADER
// Catch All Config for all Solid Engines
// Generic metallic paint
// ============================================================================
KSP_MODEL_SHADER
KSP_MODEL_SHADER:NEEDS[!zzz_Deferred]
{
name = ROE-SolidEngines

Expand Down Expand Up @@ -352,7 +337,7 @@ KSP_MODEL_SHADER
// STAR motors
// For unpainted and polished metal
// ============================================================================
KSP_MODEL_SHADER
KSP_MODEL_SHADER:NEEDS[!zzz_Deferred]
{
name = ROE-MetallicStarMotors

Expand Down Expand Up @@ -402,7 +387,7 @@ KSP_MODEL_SHADER
// ===========================================================================
// RD-100 and Variants
// ===========================================================================
KSP_MODEL_SHADER
KSP_MODEL_SHADER:NEEDS[!zzz_Deferred]
{
name = ROE-A4
model = ROEngines/Assets/RealEngines/RD_100
Expand Down Expand Up @@ -439,7 +424,7 @@ KSP_MODEL_SHADER
// A7 and RD-0105
// Anodized or painted metal
// ===========================================================================
KSP_MODEL_SHADER
KSP_MODEL_SHADER:NEEDS[!zzz_Deferred]
{
name = ROE-A7

Expand Down Expand Up @@ -547,7 +532,7 @@ KSP_MODEL_SHADER
// RS-68
// Anodized or painted metal
// ===========================================================================
KSP_MODEL_SHADER
KSP_MODEL_SHADER:NEEDS[!zzz_Deferred]
{
name = ROE-RS68

Expand Down

0 comments on commit d058d15

Please sign in to comment.