You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought that was an issue related to shaders, but looks like there is something about render textures.
Replacing: viewTexture = new RenderTexture (Screen.width, Screen.height, 0);
by: viewTexture = new RenderTexture (Screen.width, Screen.height, 24);
Portals are rendered, but with no recursion.
Why is this happening? Is feasible to fix recursion with Android?
The text was updated successfully, but these errors were encountered:
the reason is viewTexture in origin code is used as the texture of recursion portal, when we call portalCam.Render ();, it also used as the targetTexture of Camera.We can't read the same RenderTexture while it is being written, so the recusion is black.
I thought that was an issue related to shaders, but looks like there is something about render textures.
Replacing:
viewTexture = new RenderTexture (Screen.width, Screen.height, 0);
by:
viewTexture = new RenderTexture (Screen.width, Screen.height, 24);
Portals are rendered, but with no recursion.
Why is this happening? Is feasible to fix recursion with Android?
The text was updated successfully, but these errors were encountered: