Graphics Rendering in Unity 2018

Source: Internet
Author: User

https://mp.weixin.qq.com/s?__biz=MzU5MjQ1NTEwOA==&mid=2247490249&idx=1&sn= d86083e33d9884bc1df20827a966b195&chksm= Fe1e2e62c969a77417502a559c38afc2094d09aa9ed881eea225222df8e4d4b52dd9f3b56950&scene=21#wechat_redirect

Last week, we released the Book of the Dead based on Unity 2018.1, showcasing the ability of unity 2018 to bring high-end visuals to a new level of graphics rendering. Yes, in the release cycle of Untiy 2018, graphics rendering will be a focus of attention!

In 2018, we will release many features that can greatly enhance unity's rendering capabilities. Different users are expected to get some new features. For example: Visual tools for artists or more powerful rendering controls for lower-level engineers. In this article we will detail the systems that are under development in unity 2018.

Special Instructions

Examples of the original SRP provided, for some reason, were not working properly and now the problem has been resolved, please re-download the SRP example by the Chinese developer:

Https://oc.unity3d.com/index.php/s/jEnGJI8r8gllaPk

Scriptable render pipeline scriptable pipeline

Scriptable render pipeline scriptable rendering pipeline is a C # script-controlled way to configure and implement rendering in unity. This is a huge improvement over the way unity has traditionally been rendered, with the transformation of rendering control from hard-coded to full-project-driven.

Currently, Unity offers a number of rendering configurations, such as forward rendering and deferred rendering. These pipelines are fixed and cannot be changed, and there are many drawbacks:

    • Rendering problems cannot be repaired or bypassed.

    • Pipelines are too large and complex to be able to handle all use cases.

    • Because of the obsolescence and complexity, it is difficult to add the most advanced effects.

To solve these problems, we developed the SRP API in Unity 2017 in an experimental manner. The feature is now in the Unity 2018.1 beta release. We believe that the SRP can not only solve these problems, but is very easy for developers to use. With the SRP, we no longer need to provide a single rendering pipeline that attempts to do everything for everyone. The SRP API opens up Unity's rendering interface, allowing for flexible control using C # scripting. Developers can write custom renderers based on the specifics of the project.

Imagine designing a custom rendering pipeline by combining modules. Each module is a well-defined function that is easy to test, improve, and maintain. This is how scriptable Render pipeline works. This not only makes it easier for developers to use unity, but also allows us to add new modules to the engine's tool box, allowing users to quickly gain access to the latest rendering capabilities.

In Unity 2018.1, we have provided two rendering pipelines for users. They can be used not only directly, but also as a reference for developers to build custom rendering pipelines.

    • Lightweight Rendering pipeline Lightweight rendering pipeline: A rendering pipeline designed for mobile devices and platforms that do not need to compute shaders.

    • High Definition Rendering Pipeline HD rendering Pipeline: Modern, highly realistic renderer to support game development for Shader Model 5.0 (DX11 and above) platforms.

Lightweight Rendering pipeline lightweight rendering pipeline

Design LT RP is for speed and better to extend to low-end hardware. It is a forward-based renderer that scales well from mobile to VR and PC.

The lightweight Pipeline lightweight rendering pipeline is a scriptable render Pipeline that is available in Unity 2018.1. It takes a single pass forward rendering that is illuminated by each object, with the advantage of coloring all the lights in a single pass. In contrast, Unity's default forward rendering takes an extra pass for each pixel illumination, and using the LT pipeline produces fewer draw calls, at the expense of a slight shader complexity increase.

Lightweight rendering pipeline pipelines support up to 8 light sources per object and support only a subset of Unity's built-in rendering features.

HD Rendering pipeline HD rendering pipeline

The HD Rendering Pipeline High Definition rendering pipeline is a scriptable render Pipeline that is available in Unity 2018.1. HDRP is a modern rendering pipeline that is designed with PBR, linear illumination, and HDR illumination in mind. It is built using a configurable hybrid tiling (tile)/cluster delay (Cluster deferred)/forward illumination (Forward lighting) architecture.

HDRP adds features to Unity's built-in functionality, improving the options for lighting, reflective probes, and standard materials. It provides advanced materials such as anisotropy, subsurface scattering, Clear coating, and support for advanced lighting, such as area lights zone light.

Post-processing Stack v2 post-processing effects pack

The post-processing stack post-processing effects pack has been improved to provide better quality of effect, as well as automated volume blending capabilities. Its powerful rewrite stack and elastic framework allow developers to write and distribute custom effects. It is compatible with lightweight rendering pipelines, high-definition rendering pipelines, and built-in rendering pipelines.

Unity Shader Graph Shader View

All the people who used to be able to create shaders in unity were those with programming skills. In Unity 2018, we are changing this situation!

Developers can use the shader graph shader view to visually build shaders. Instead of having to write code manually, you create and connect nodes in your graphics network. The graphics framework makes real-time feedback on these changes, which is simple enough for new users to get started with shader production.

The Shader graph shader View system can be used with the LT and HD rendering pipelines, and can be extended with any other custom rendering pipeline, with an open architecture that can write custom nodes.

Summary

Get the latest Unity 2018.1 beta release to learn more features and features. In the next few weeks, we'll cover these systems in more detail so that developers can make the most of them. You can also give feedback to us about using unity 2018 feedback in Unity's official Chinese community (unitychina.cn)!

Graphics Rendering in Unity 2018

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.