You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[HDRP][Compositor] Fix issue with screen space UI not drawing (#2070)
* Fix issue with screen space UI not drawing on the graphics compositor
* Revert minor code change
* Remove debug/log messages
* Hide internal compositor data from inspector
Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
Copy file name to clipboardExpand all lines: com.unity.render-pipelines.high-definition/Runtime/Compositor/CompositionLayer.cs
+47-28Lines changed: 47 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,8 @@ public enum ResolutionScale
54
54
[SerializeField]boolm_ClearAlpha=true;// Specifies if the Alpha channel will be cleared when stacking this camera over the previous one (for overlays)
55
55
[SerializeField]Rendererm_OutputRenderer=null;// Specifies the output surface/renderer
56
56
[SerializeField]LayerTypem_Type;
57
+
58
+
publicCamerasourceCamera=>m_Camera;
57
59
[SerializeField]Cameram_Camera=null;// The source camera for the layer (were we get the default properties). The actual rendering, with overridden properties is done by the m_LayerCamera
58
60
[SerializeField]VideoPlayerm_InputVideo=null;
59
61
[SerializeField]Texturem_InputTexture=null;
@@ -131,6 +133,9 @@ public float aspectRatio
131
133
132
134
[SerializeField]Cameram_LayerCamera;
133
135
136
+
// Returns true if this layer is using a camera that was cloned internally for drawing
// Clone the camera that was given by the user. We avoid calling Instantiate because we don't want to clone any other children that might be attachen to the camera
// Clone the camera that was given by the user. We avoid calling Instantiate because we don't want to clone any other children that might be attachen to the camera
0 commit comments