High-quality stroke, the first step of a completely shader-driven 3D Engine

Source: Internet
Author: User

Using post-processing deep tests for high-quality strokes, five rotating teapot.

Now we have written a post-processing method for stroke and a special shader for each teapot during scene painting.

Currently, it is hand-written, and the function is completed first.

Then encapsulate this part to implement an automatic driver process and a shader combination process.

Then, the implementation of any effect is no longer dependent onCodeOf course, this is a long-term task. At present, we can implement an elegant cartoon rendering first.

The effects of the entire scenario can be configured in an XML file. From cartoon rendering to real-time rendering, you can add or delete any effects dynamically.

Currently, xNa does not support MRT. Because Windows Phone 7 is determined to not support features, I will not use MRT for optimization. Try to think about other features ^_^.

Because it is used, it cannot be separated from the PC platform.

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.