Use a custom material ball to achieve Ngui screen dissolution and gray display

Source: Internet
Author: User

Uitexture Realization of dissolution:

Reset Uiteture material ball to achieve the above effect, the current screen rendering of the texture2d to Uitexture, you can achieve UI screen effects, background blur and so on.

The difficulty is mainly the real-time refresh problem

Resolve the comparison rough, each update to reset the material ball, Force Ngui Update:

Null= Mat;

The second one is the gray display:

After the implementation of the gray, fine art will not have two sets of pictures

The difficulty is that Uisprite has no custom material ball support, there is direct modification of the source code, there are also extended

Your own version of the implementation is not posted, the source of the extended version:

Http://www.cnblogs.com/slysky/p/4568648.html

Use a custom material ball to achieve Ngui screen dissolution and gray display

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.