Skip to content

Commit

Permalink
Force add renderingmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroHG committed Nov 21, 2024
1 parent 6838aa0 commit 7ff6555
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 2 deletions.
5 changes: 5 additions & 0 deletions unity/Assets/Scripts/AgentManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ void Start() {
// gets initialized
var instance = Manager.Instance;

//Why is Rendering manager not in cloudrendering?

gameObject.AddComponent(typeof(RenderingManager));

// Camera camera = this.primaryAgent.gameObject.GetComponentInChildren<Camera>();
// camera.targetTexture = createRenderTexture(Screen.width, Screen.height);
#endif
Expand Down Expand Up @@ -1043,6 +1047,7 @@ private void addAgent(ServerAction action) {
// this.primaryAgent.m_Camera.targetTexture.width,
// this.primaryAgent.m_Camera.targetTexture.height
// );

#endif
agent.ProcessControlCommand(action.dynamicServerAction);
// TODO: instead of calling agent.ProcessControlCommand call
Expand Down
51 changes: 51 additions & 0 deletions unity/ProjectSettings/GraphicsSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,57 @@ GraphicsSettings:
enableLPPV: 1
useDitherMaskForAlphaBlendedShadows: 1
m_Automatic: 0
- serializedVersion: 5
m_BuildTarget: 30
m_Tier: 0
m_Settings:
standardShaderQuality: 2
renderingPath: 1
hdrMode: 1
realtimeGICPUUsage: 25
useReflectionProbeBoxProjection: 1
useReflectionProbeBlending: 1
useHDR: 1
useDetailNormalMap: 1
useCascadedShadowMaps: 1
prefer32BitShadowMaps: 0
enableLPPV: 1
useDitherMaskForAlphaBlendedShadows: 1
m_Automatic: 0
- serializedVersion: 5
m_BuildTarget: 30
m_Tier: 1
m_Settings:
standardShaderQuality: 2
renderingPath: 3
hdrMode: 1
realtimeGICPUUsage: 25
useReflectionProbeBoxProjection: 1
useReflectionProbeBlending: 1
useHDR: 1
useDetailNormalMap: 1
useCascadedShadowMaps: 1
prefer32BitShadowMaps: 0
enableLPPV: 1
useDitherMaskForAlphaBlendedShadows: 1
m_Automatic: 0
- serializedVersion: 5
m_BuildTarget: 30
m_Tier: 2
m_Settings:
standardShaderQuality: 2
renderingPath: 3
hdrMode: 1
realtimeGICPUUsage: 50
useReflectionProbeBoxProjection: 1
useReflectionProbeBlending: 1
useHDR: 1
useDetailNormalMap: 1
useCascadedShadowMaps: 1
prefer32BitShadowMaps: 0
enableLPPV: 1
useDitherMaskForAlphaBlendedShadows: 1
m_Automatic: 0
m_LightmapStripping: 0
m_FogStripping: 0
m_InstancingStripping: 0
Expand Down
4 changes: 2 additions & 2 deletions unity/ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ PlayerSettings:
webGLThreadsSupport: 0
webGLDecompressionFallback: 0
scriptingDefineSymbols:
1:
1: UNITY_POST_PROCESSING_STACK_V2
4: CROSS_PLATFORM_INPUT;MOBILE_INPUT;UNITY_POST_PROCESSING_STACK_V2
7: CROSS_PLATFORM_INPUT;MOBILE_INPUT;UNITY_POST_PROCESSING_STACK_V2
13: UNITY_POST_PROCESSING_STACK_V2
Expand All @@ -659,7 +659,7 @@ PlayerSettings:
27: UNITY_POST_PROCESSING_STACK_V2
28: UNITY_POST_PROCESSING_STACK_V2
29: UNITY_POST_PROCESSING_STACK_V2
30: UNITY_STANDALONE_LINUX_API;UNITY_POST_PROCESSING_STACK_V2
30:
32: UNITY_POST_PROCESSING_STACK_V2
33: UNITY_POST_PROCESSING_STACK_V2
additionalCompilerArguments: {}
Expand Down

0 comments on commit 7ff6555

Please sign in to comment.