Fix Window Port, Render 2sided
This commit is contained in:
@@ -30,7 +30,7 @@ Material:
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_DoubleSidedGI: 1
|
||||
m_CustomRenderQueue: 3000
|
||||
stringTagMap:
|
||||
RenderType: Transparent
|
||||
@@ -108,7 +108,7 @@ Material:
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _Cull: 2
|
||||
- _Cull: 0
|
||||
- _Cutoff: 0.5
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
|
||||
@@ -114,4 +114,5 @@ public class Definitions
|
||||
public const string PORT_ERLBACH_GRILL = "portErlbach91";
|
||||
public const string PORT_ERLBACH_Headlight_V_Cover = "portErlbach92";
|
||||
public const string PORT_ERLBACH_Headlight_V = "portErlbach93";
|
||||
public const string PORT_ERLBACH_Windows = "portErlbachWindow";
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ public class ModelList
|
||||
Port.Hidden(Definitions.PORT_ERLBACH_Headlight_V_Cover, "idErlbachPart86", Vector3.zero, Quaternion.identity, 1f, new Vector3(-50f, 0f, 0f)),
|
||||
Port.Choosable("Front Bumper", Definitions.PORT_ERLBACH_FrontBumper, "idErlbachPart92", Vector3.zero, Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)),
|
||||
Port.Hidden(Definitions.PORT_ERLBACH_Headlight_V, "idErlbachPart93", Vector3.zero, Quaternion.identity, 1f, new Vector3(-60f, 0f, 0f)),
|
||||
Port.Choosable("Glas", "XFenster", "idErlbachGlas", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 90f)),
|
||||
Port.Choosable("Glas", Definitions.PORT_ERLBACH_Windows, "idErlbachGlas", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 90f)),
|
||||
}
|
||||
)
|
||||
};
|
||||
@@ -407,7 +407,7 @@ public class ModelList
|
||||
new ModelElement( Definitions.PORT_ERLBACH_GRILL, "Standard Grille", "idErlbachPart91", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_FrontBumper, "FrontBumper", "idErlbachPart92", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_Headlight_V, "Headlight", "idErlbachPart93", Resources.Load<Material>($"Material/MetalMesh"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement("XFenster", "Fenster", "idErlbachGlas", Resources.Load<Material>($"Material/Glas"), Vector3.zero, Quaternion.identity, Vector3.one, null, FensterColor),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_Windows, "Fenster", "idErlbachGlas", Resources.Load<Material>($"Material/Glas"), Vector3.zero, Quaternion.identity, Vector3.one, null, FensterColor),
|
||||
},
|
||||
Resources.LoadAll<Mesh>($"Model/ERLbach/ERLBach_mit_Fenster"),
|
||||
1 //skip basemodel
|
||||
|
||||
Reference in New Issue
Block a user