This commit is contained in:
StarBeats 2025-02-19 17:51:58 +08:00
parent 4c61793418
commit 0976656c34
4 changed files with 13 additions and 10 deletions

View File

@ -28,8 +28,8 @@ MonoBehaviour:
m_SupportsHDR: 1
m_HDRColorBufferPrecision: 0
m_MSAA: 1
m_RenderScale: 1
m_UpscalingFilter: 3
m_RenderScale: 0.58823526
m_UpscalingFilter: 0
m_FsrOverrideSharpness: 1
m_FsrSharpness: 1
m_EnableLODCrossFade: 1
@ -114,5 +114,5 @@ MonoBehaviour:
m_PrefilterNativeRenderPass: 1
m_ShaderVariantLogLevel: 0
m_ShadowCascades: 0
superResolution: 0
superResolution: 5
vrsRate: 0

View File

@ -79,7 +79,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a00dddc5b3ea7fe45953ccbd49b58b94, type: 3}
m_Name: GSR
m_EditorClassIdentifier:
m_Active: 0
m_Active: 1
quality: 4
v1settings:
EnableEdgeDirection: 1
@ -88,12 +88,12 @@ MonoBehaviour:
MipMapBias: -0.35
GSRV1Material: {fileID: 2100000, guid: d57e64d5723127243b429034bed82c7d, type: 2}
v2settings:
UseCompute2Pass: 1
UseCompute2Pass: 0
GSRV2Material: {fileID: 2100000, guid: faa906817c0647f42a0cec70faeb91c1, type: 2}
GSRV2ComputeShader: {fileID: 7200000, guid: 9a4e6ff1f9a33fa4ea1e9744e313e2fd, type: 3}
FiveSample: 0
Exposure_co_rcp: 1
MipMapBias: 0
Exposure_co_rcp: 0.55
MipMapBias: -0.04
--- !u!114 &-2390300670611609275
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@ -103,6 +103,7 @@ target("GfxPluginNativeRender")
if is_plat("harmonyos") then
add_links("xengine")
add_cxxflags("-fPIE", "-fPIC")
add_ldflags("-fPIE", "-fPIC")
add_links("framegeneration")
add_defines("OHOS=1")
@ -118,8 +119,10 @@ target_end()
toolchain("ohndk")
-- mark as standalone toolchain
set_kind("standalone")
set_bindir("C:/Users/xinyt/AppData/Local/OpenHarmony/Sdk/12/native/llvm/bin")
-- set_bindir("C:/Users/xinyt/AppData/Local/OpenHarmony/Sdk/12/native/llvm/bin")
set_bindir("D:/tj/2022.3.48t2/Editor/Data/PlaybackEngines/OpenHarmonyPlayer/SDK/12/native/llvm/bin")
-- set toolset
set_toolset("cc", "clang")
set_toolset("cxx", "clang", "clang++")

View File

@ -28,7 +28,7 @@ namespace X.Rendering.Feature
#endif
public static extern bool GetInputResolution(int outw, int outh, int quality, ref int width, ref int height);
//#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST ) && !UNITY_EDITOR
//#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST) && !UNITY_EDITOR
// [DllImport("__Internal")]
//#else
// [DllImport("GfxPluginNativeRender")]