{"action":"created","issue":{"url":"https://api.github.com/repos/OSVR/OSVR-Unity/issues/165","repository_url":"https://api.github.com/repos/OSVR/OSVR-Unity","labels_url":"https://api.github.com/repos/OSVR/OSVR-Unity/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/OSVR/OSVR-Unity/issues/165/comments","events_url":"https://api.github.com/repos/OSVR/OSVR-Unity/issues/165/events","html_url":"https://github.com/OSVR/OSVR-Unity/issues/165","id":158305631,"number":165,"title":"Image Effects & Deferred Rendering black-out the HDK in DirectMode","user":{"login":"RedIronLabs","id":17163040,"avatar_url":"https://avatars.githubusercontent.com/u/17163040?v=3","gravatar_id":"","url":"https://api.github.com/users/RedIronLabs","html_url":"https://github.com/RedIronLabs","followers_url":"https://api.github.com/users/RedIronLabs/followers","following_url":"https://api.github.com/users/RedIronLabs/following{/other_user}","gists_url":"https://api.github.com/users/RedIronLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/RedIronLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedIronLabs/subscriptions","organizations_url":"https://api.github.com/users/RedIronLabs/orgs","repos_url":"https://api.github.com/users/RedIronLabs/repos","events_url":"https://api.github.com/users/RedIronLabs/events{/privacy}","received_events_url":"https://api.github.com/users/RedIronLabs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-03T07:15:47Z","updated_at":"2016-06-10T04:13:58Z","closed_at":null,"body":"Tested on Unity 5.3.4f1 and 5.3.5f1\r\nOS Name - Microsoft Windows 10 Pro\r\nProcessor - AMD FX(tm)-9370 Eight-Core Processor, 4400 Mhz, 4 Core(s), 8 Logical Processor(s)\r\nVideo Card - AMD Radeon (TM) R9 380 Series\r\n\r\n- Tested with current official OSVR Runtime (0.6.1194-g0c54f5e, 64bit)\r\n- Tested with current official Unity package (0.6.8.2.0, 0.6.1194-g0c54f5e, 390)\r\n\r\n**Problem**\r\nIf the Camera attached to VRSurface is using Deferred rendering, and a Unity Image Effect is used (any script using OnRenderImage) such as Bloom or custom scripts, the HDK will not render to the display.\r\nChanging to Forward will show a normal image.  \r\nChanging back to Deferred will freeze the previous image.\r\n\r\n**Workaround**\r\nForward rendering or Extended Mode\r\n\r\n**Reproduction Steps**\r\nSet your HDK to Direct Mode\r\nOpen the default Samples, and open the FPS example.\r\nOn the VRSurface (eye camera), change it to Deferred.\r\nAdd a Bloom effect to the eye camera OR a simple test script such as:\r\n\r\n```\r\n    void OnRenderImage(RenderTexture src, RenderTexture dest)\r\n    {\r\n        Graphics.Blit(src, dest);\r\n    }\r\n```\r\n\r\n**Expected**\r\nCamera renders to the eye with the applied effect.,\r\n\r\n**Actual**\r\nOn Direct Mode systems, rendering is frozen.\r\n\r\n**Additional Notes**\r\nI tried to force Camera.Render() to the camera, and prevented it from being disabled (no change).  Will update if I find anything useful\r\n"},"comment":{"url":"https://api.github.com/repos/OSVR/OSVR-Unity/issues/comments/225089192","html_url":"https://github.com/OSVR/OSVR-Unity/issues/165#issuecomment-225089192","issue_url":"https://api.github.com/repos/OSVR/OSVR-Unity/issues/165","id":225089192,"user":{"login":"RedIronLabs","id":17163040,"avatar_url":"https://avatars.githubusercontent.com/u/17163040?v=3","gravatar_id":"","url":"https://api.github.com/users/RedIronLabs","html_url":"https://github.com/RedIronLabs","followers_url":"https://api.github.com/users/RedIronLabs/followers","following_url":"https://api.github.com/users/RedIronLabs/following{/other_user}","gists_url":"https://api.github.com/users/RedIronLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/RedIronLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedIronLabs/subscriptions","organizations_url":"https://api.github.com/users/RedIronLabs/orgs","repos_url":"https://api.github.com/users/RedIronLabs/repos","events_url":"https://api.github.com/users/RedIronLabs/events{/privacy}","received_events_url":"https://api.github.com/users/RedIronLabs/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T04:13:58Z","updated_at":"2016-06-10T04:13:58Z","body":"                                                                                      Hi GregThanks for checking and replying, I only use RenderManager while in DirectMode, so that might be why I didn't notice that part!I tried moving the camera render priorities as well as forcing rendering of cameras and just couldn't get it to budge. It isn't blocking me from anything currently though. But I have isolated it to that one image rendering command. I tried hard and just couldn't find a way past it...RegardsLloyd                                                                                                                                                                                                                                                                                                                                        Sent from my BlackBerry 10 smartphone.                                                                                                                                                                                                                From: Greg AringSent: Thursday, June 9, 2016 10:09 PMTo: OSVR/OSVR-UnityReply To: OSVR/OSVR-UnityCc: Lloyd Summers; AuthorSubject: Re: [OSVR/OSVR-Unity] Image Effects & Deferred Rendering black-out the HDK in DirectMode (#165)I can reproduce, but it also happens in extended mode for me. When you say \"extended\", do you mean with no rendermanager, or rendermanager in non-direct mode? Still testing possible solutions like changing when surfaces are rendered (moved render loop to EndOfFrame), but so far haven't seen my changes make any difference. \n\n—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread."}}
{"actor":{"display_login":"RedIronLabs"}}