Hi, I wrote a script for multi-pass rendering, which is to render images in different resolutions.
For example, the first layer with a full-screen low resolution render into a texture. The second layer has a higher resolution but smaller image scope also rendered into a texture.
After that, I draw these two layers texture into the camera view, so the overall image will have different resolution.
The problem is, it works in Unity edit model but when I build a release version, I can see nothing on the screen. It looks like the images are not drawn on the camera view. The same scene without multi-pass rendering processing, the release build works.
Could anyone tell me what's the problem it could be?
Here are the screenshots:
In Unity Edit model:
![alt text][1]
In release build:
![alt text][2]
[1]: /storage/temp/136349-multi-reso.png
[2]: /storage/temp/136350-release-build.png
↧