Hi, I’m trying to render a Canvas (amongst other things) to texture, as part of a blur effect. And it’s looking like canvases don’t render to texture properly? (Only tested in the editor so far)
My code is using Camera.Render() - after copying the real camera’s setup to a temporary camera. And this doesn’t seem to be rendering any canvas content at all.
Then as a test, I tried assigning a RenderTexture asset to ‘Target Texture’ on one of my UI cameras - and doing it that way, it’s picking up something on the RenderTexture, but it’s only a small area of the UI (the RenderTexture was smaller than the screen resolution)
(This code all worked previously with NGUI - and still works to capture+blur 3D content. It’s only canvases that it’s having problems with. My canvases are set up as Screen Space - Camera, so it’s not a case of overlay layers not being rendered to texture)
Has anyone else tried rendering a canvas to texture?
(Currently running 4.6.0f3)