简体   繁体   中英

Render to texture a moving object in unity3d

So i set up a render to texture material and a cam. I want the cam to capture a 3d die rolling and render that capture to a raw image in a screen space canvas. The problem is that it seems to capture all of the die movements. Here is a screenshot. 在此处输入图片说明

There seems to be some strange trailing going on. Any ideas ?

It turns out I duplicated my background camera that was set to depth only and that was causing the problem. If you want to capture moving object with Render to texture use solid color on the cam's CLear Flags

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM