Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down