Unity updating textblock text in RenderToTexture mode
Posted: 18 Nov 2013, 16:56
Hi;
I can not update a textblock's text that is rendered on a plane with a rendertarget assigned to it.
When setting a new value, the previous text is not cleared.
Probably it is a clearing issue of the target buffer but could not figure out how to clear it. I have set my GUI camera's clear flag to DepthOnly and set the target textures depthbuffer to 16bit, but no luck.
What is the correct way to achieve this.
Thanks.
I can not update a textblock's text that is rendered on a plane with a rendertarget assigned to it.
When setting a new value, the previous text is not cleared.
Probably it is a clearing issue of the target buffer but could not figure out how to clear it. I have set my GUI camera's clear flag to DepthOnly and set the target textures depthbuffer to 16bit, but no luck.
What is the correct way to achieve this.
Thanks.