diff --git a/Assets/Default Lighting.lighting b/Assets/Default Lighting.lighting index 027ec3b..1dbb099 100644 --- a/Assets/Default Lighting.lighting +++ b/Assets/Default Lighting.lighting @@ -8,7 +8,7 @@ LightingSettings: m_PrefabAsset: {fileID: 0} m_Name: Default Lighting serializedVersion: 4 - m_GIWorkflowMode: 0 + m_GIWorkflowMode: 1 m_EnableBakedLightmaps: 1 m_EnableRealtimeLightmaps: 0 m_RealtimeEnvironmentLighting: 1 @@ -16,7 +16,7 @@ LightingSettings: m_AlbedoBoost: 1 m_IndirectOutputScale: 1 m_UsingShadowmask: 1 - m_BakeBackend: 2 + m_BakeBackend: 1 m_LightmapMaxSize: 1024 m_BakeResolution: 40 m_Padding: 2 diff --git a/Assets/Scenes/WACVR.unity b/Assets/Scenes/WACVR.unity index c234b25..268ac2e 100644 --- a/Assets/Scenes/WACVR.unity +++ b/Assets/Scenes/WACVR.unity @@ -2132,18 +2132,18 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 6c150c011a6544b4b8054bba7ee5e5ca, type: 3} m_Name: m_EditorClassIdentifier: - searchTiming_: 0 + searchTiming_: 1 type_: 0 altTabWindow_: 1 createChildWindows_: 0 childWindowPrefab: {fileID: 0} childWindowZDistance: 0.02 - partialWindowTitle_: 'Mercury ' + partialWindowTitle_: Mercury desktopIndex_: 0 captureMode: 1 capturePriority: 0 captureRequestTiming: 0 - captureFrameRate: 120 + captureFrameRate: 60 drawCursor: 0 updateTitle: 0 searchAnotherWindowWhenInvalid: 0 diff --git a/Assets/Scenes/WACVR/LightingData.asset b/Assets/Scenes/WACVR/LightingData.asset index ab0297c..7041e97 100644 Binary files a/Assets/Scenes/WACVR/LightingData.asset and b/Assets/Scenes/WACVR/LightingData.asset differ diff --git a/Assets/Scenes/WACVR/Lightmap-0_comp_dir.png b/Assets/Scenes/WACVR/Lightmap-0_comp_dir.png index 5786e17..dc552ef 100644 Binary files a/Assets/Scenes/WACVR/Lightmap-0_comp_dir.png and b/Assets/Scenes/WACVR/Lightmap-0_comp_dir.png differ diff --git a/Assets/Scenes/WACVR/Lightmap-0_comp_light.exr b/Assets/Scenes/WACVR/Lightmap-0_comp_light.exr index 5e98b73..44e5509 100644 Binary files a/Assets/Scenes/WACVR/Lightmap-0_comp_light.exr and b/Assets/Scenes/WACVR/Lightmap-0_comp_light.exr differ diff --git a/Assets/uWindowCapture/Runtime/UwcManager.cs b/Assets/uWindowCapture/Runtime/UwcManager.cs index 57fb79c..b7ffcc8 100644 --- a/Assets/uWindowCapture/Runtime/UwcManager.cs +++ b/Assets/uWindowCapture/Runtime/UwcManager.cs @@ -174,8 +174,7 @@ public class UwcManager : MonoBehaviour { Lib.Update(Time.deltaTime); UpdateWindowInfo(); - if (!UwcWindowTexture.isWindowCaptured) - UpdateMessages(); + UpdateMessages(); UpdateWindowTitles(); } diff --git a/Assets/uWindowCapture/Runtime/UwcWindowTexture.cs b/Assets/uWindowCapture/Runtime/UwcWindowTexture.cs index ff23116..9b1e699 100644 --- a/Assets/uWindowCapture/Runtime/UwcWindowTexture.cs +++ b/Assets/uWindowCapture/Runtime/UwcWindowTexture.cs @@ -196,7 +196,6 @@ public class UwcWindowTexture : MonoBehaviour return window != null && window.isValid; } } - static public bool isWindowCaptured = false; Material material_; Renderer renderer_; @@ -225,8 +224,7 @@ public class UwcWindowTexture : MonoBehaviour { UpdateSearchTiming(); UpdateTargetWindow(); - if (!isWindowCaptured) - isWindowCaptured = window != null && window.isValid; + if (!isValid) { material_.mainTexture = null; return;