Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: mattHu on May 16, 2016, 10:01:18 PM

Title: How to render 3d mesh at UIPanel
Post by: mattHu on May 16, 2016, 10:01:18 PM
Hi!
I want render something like 3d mesh, particle system. Change mesh renderqueue only work at view depth, but it do not work at uipanel when uipanel do clip.
How can i use it like use UITexture?
thanks~

Title: Re: How to render 3d mesh at UIPanel
Post by: ArenMook on May 18, 2016, 05:01:45 AM
This post was right next to yours... http://www.tasharen.com/forum/index.php?topic=14196.0
Title: Re: How to render 3d mesh at UIPanel
Post by: mattHu on May 18, 2016, 05:54:52 AM
I'm trying to render a RenderTexture with camera, but the renderTexture' alpha value always 1.
Title: Re: How to render 3d mesh at UIPanel
Post by: ArenMook on May 21, 2016, 09:34:58 PM
The alpha value is going to be whatever you set your camera's Clear Color to be. If you set its alpha to 0, and the render target is RGBA, then it will be 0 by default. This is nothing to do with NGUI, and you should use Unity's forum for these questions.