We are trying to render a scene to a cubemap, but beyond the 512 resolution, we get the following error message:
The offending code is:
Is there a built-in limitation on the resolution of a cubemap render?
Anyone could help us here?
asked Aug 03 '11 at 07:02 PM
So we finally got this thing working.
Don't create a cubemap, but use a RenderTexture instead. Rendering to it is MUCH faster.
Simply set the RenderTexture.isCubemap flag to true, and set the resolution to whatever NPOT resolution you fancy. I think 4096 is the maximum cubemap resolution.
Hope this helps!