The display of special effects (particles) in Unity NGUI

Source: Internet
Author: User

Ngui UI occlusion when adding particle effects

Because the render order column of the particle system defaults to 3000, and the Ngui render order defaults to 3000, the GUI renders in a higher order than 3000 when there are nested panels, or when depth a higher panel.

The solution is:

1. Modify the default Renderqueue in the UIPanel script in Ngui, adjust to less than 3000 so that the particle effects are not obscured, and when some windows need to be displayed on the effects, adjust the renderer q option in the inspector to start at, Value of 3000 or more, you can resolve

2. Use a different camera to display the effects. However, it is not very well controlled when the UI window switches between each other.

3. Modify the Rendererqueue value in the shader of the particle effect.

RELATED Links: http://m.blog.csdn.net/blog/yxriyin/44037673

The display of special effects (particles) in Unity NGUI

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.