Particle rendering and Ngui rendering level depth problem analysis

Source: Internet
Author: User
1, in order to render particles in the middle of the two pictures, must be two pictures of the render batch separate, in the same depth section, if there is no other batch of other Atlas to add, the picture is depth order, but at this time the particles and Atlas is a batch rendering, particles are always at the top of this atlas picture, Setting the z-axis also doesn't work.
2. When a particle is rendered with a pre-set picture, the z-axis must be half the preceding picture, i.e. the z-axis of the front image is 100, and the z-axis of the particle must be less than-50, if the z-axis of the front image is 100, the particle z-axis must be less than 50.
3, two atlas: in the same depth, it is useless to set the z axis. If the pre-particle picture (A-Atlas) depth is larger than the picture (b-Atlas), then the particles can be set between the two pictures.
4, in order to let the particles in the middle of the two pictures, must be to let a Atlas Drawcall two times.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Particle rendering and Ngui rendering level depth problem analysis

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.