1
0
mirror of synced 2024-11-23 22:30:56 +01:00

disable head cube for liv capture and fix texture quality issue

This commit is contained in:
xpeng 2022-10-16 13:50:38 +02:00
parent 5c837c8850
commit 6803f5c905
10 changed files with 57 additions and 22 deletions

View File

@ -5537,7 +5537,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &946855117
Transform:
m_ObjectHideFlags: 0
@ -28647,7 +28647,7 @@ MonoBehaviour:
_disableStandardAssets: 0
_spectatorLayerMask:
serializedVersion: 2
m_Bits: 191
m_Bits: 183
_excludeBehaviours:
- AudioListener
- Collider
@ -33355,7 +33355,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!114 &1748802424534997469
MonoBehaviour:
m_ObjectHideFlags: 0
@ -34615,12 +34615,12 @@ PrefabInstance:
- target: {fileID: 1014690918283339427, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1014690918283339427, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4034806853489518429, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
@ -34735,17 +34735,17 @@ PrefabInstance:
- target: {fileID: 5094062789511148128, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5094062789511148128, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5094062789511148128, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5644598695143456032, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
@ -35458,12 +35458,12 @@ PrefabInstance:
- target: {fileID: 1014690918283339427, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.75
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1014690918283339427, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4034806853489518429, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
@ -35578,17 +35578,17 @@ PrefabInstance:
- target: {fileID: 5094062789511148128, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.75
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5094062789511148128, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5094062789511148128, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.75
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5644598695143456032, guid: 48a5eb7af38418f47aa7dd9c8f4512d7,
type: 3}

View File

@ -13,6 +13,6 @@ public class LightSettingManager : MonoBehaviour
}
void ApplyConfig()
{
LightManager.SetActive(ConfigManager.config.useLight);
LightManager.SetActive(ConfigManager.config.useLight);
}
}

View File

@ -0,0 +1,19 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VisibilityManager : MonoBehaviour
{
public string ConfigKeyName;
void Start()
{
ConfigManager.onConfigChanged += ApplyConfig;
ConfigManager.EnsureInitialization();
ApplyConfig();
}
void ApplyConfig()
{
bool state = (bool)ConfigManager.config.GetType().GetField(ConfigKeyName).GetValue(ConfigManager.config);
gameObject.SetActive(state);
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b2d82c3d0a2591e44b2d564a3fa41d04
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -27,7 +27,10 @@ MonoBehaviour:
m_SupportsHDR: 0
m_MSAA: 1
m_RenderScale: 1
m_MainLightRenderingMode: 1
m_UpscalingFilter: 0
m_FsrOverrideSharpness: 0
m_FsrSharpness: 0.92
m_MainLightRenderingMode: 0
m_MainLightShadowsSupported: 0
m_MainLightShadowmapResolution: 1024
m_AdditionalLightsRenderingMode: 0
@ -48,6 +51,8 @@ MonoBehaviour:
m_ShadowDepthBias: 1
m_ShadowNormalBias: 1
m_SoftShadowsSupported: 0
m_ConservativeEnclosingSphere: 0
m_NumIterationsEnclosingSphere: 64
m_AdditionalLightsCookieResolution: 2048
m_AdditionalLightsCookieFormat: 3
m_UseSRPBatcher: 1

View File

@ -34,7 +34,7 @@ TextureImporter:
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
aniso: 16
mipBias: 0
wrapU: 0
wrapV: 0

View File

@ -34,7 +34,7 @@ TextureImporter:
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
aniso: 4
mipBias: 0
wrapU: 0
wrapV: 0
@ -117,7 +117,7 @@ TextureImporter:
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
pSDShowRemoveMatteOption: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@ -34,7 +34,7 @@ TextureImporter:
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
aniso: 4
mipBias: 0
wrapU: 0
wrapV: 0
@ -117,7 +117,7 @@ TextureImporter:
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
pSDShowRemoveMatteOption: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@ -20,7 +20,7 @@ QualitySettings:
shadowmaskMode: 0
skinWeights: 2
textureQuality: 0
anisotropicTextures: 0
anisotropicTextures: 1
antiAliasing: 0
softParticles: 0
softVegetation: 0

View File

@ -13,7 +13,7 @@ TagManager:
- UI
- TPBlock
- UIText
-
- LIVBlock
-
-
-