Closed Sjaeseok closed 1 year ago
AR camera also work like normal camera component in Unity so, i haven't try this. but this should work
You can see All Thing in render texture what camera see....
AR camera also work like normal camera component in Unity so, i haven't try this. but this should work
- Create a new Render Texture in you Project Folder
- Assign that render texture in main camera "Target Texture" Field.
- Assign same render texture in material or Canvas Raw Texture
- done
You can see All Thing in render texture what camera see....
Thanks reply. I tried that way. ARCamera not showing display after assign render texture in 'AR Camera'. but only could just show render texture and without ARObject. Is there another way?
You may want to perform a Graphics.Blit(yourRenderTexture, null); after all rendering has completed for a given frame to write the render texture to the back buffer.
i tried this code
` Graphics.Blit(null, renderTexture, m_ARCameraBackground.material); var activeRenderTexture = RenderTexture.active; RenderTexture.active = renderTexture;
but i cant get texture contain ar objects. how can i get the texture contain ar obejcts?