diff --git a/Syphon Implementations/Unity3D/Unity3D-3_5/SyphonUnityExample/Assets/Plugins/SyphonTexture-AdvancedUsers/SyphonServerTextureCustomResolution.cs b/Syphon Implementations/Unity3D/Unity3D-3_5/SyphonUnityExample/Assets/Plugins/SyphonTexture-AdvancedUsers/SyphonServerTextureCustomResolution.cs index c0e7fdc..4dbb6a8 100644 --- a/Syphon Implementations/Unity3D/Unity3D-3_5/SyphonUnityExample/Assets/Plugins/SyphonTexture-AdvancedUsers/SyphonServerTextureCustomResolution.cs +++ b/Syphon Implementations/Unity3D/Unity3D-3_5/SyphonUnityExample/Assets/Plugins/SyphonTexture-AdvancedUsers/SyphonServerTextureCustomResolution.cs @@ -117,8 +117,6 @@ void OnGUI () { } if(Event.current.type.Equals(EventType.Repaint)){ - //clear with a black background (GL.Clear adds weird artifacts if called here...dunno why, unity bug?) - GUI.DrawTexture(new Rect(0, 0, Screen.width, Screen.height), Syphon.NullTexture, ScaleMode.ScaleAndCrop, false, 0); //draw the scene rendertexture, but fit it to the window. if(drawScene) GUI.DrawTexture(new Rect(0, 0, Screen.width, Screen.height), customRenderTexture, ScaleMode.ScaleToFit, false, 0);