# X-PostProcessing-Library **Repository Path**: LL9527/X-PostProcessing-Library ## Basic Information - **Project Name**: X-PostProcessing-Library - **Description**: :boat: XPL : High Quality Post Processing Effects Library For Unity - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-11-08 - **Last Updated**: 2021-11-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 
X-PostProcessing Libray,简称XPL,是针对Unity引擎的高品质开源后处理库,旨在提供业界主流的高品质后处理特效的完整解决方案。目前已完美支持Unity Post-processing Stack v2,后续也将提供对Unity引擎URP/LWRP/HDRP的兼容支持。 **X-PostProcessing Library (XPL)** is a high quality post processing library for for Unity Post Processing Stack v2/LWRP/URP/HDRP # 1. 目录 | Content - 图像模糊型后处理 | Blur Effects - [Gaussian Blur](Assets/X-PostProcessing/Effects/GaussianBlur) - [Box Blur](Assets/X-PostProcessing/Effects/BoxBlur) - [Tent Blur](Assets/X-PostProcessing/Effects/TentBlur) - [Kawase Blur](Assets/X-PostProcessing/Effects/KawaseBlur) - [Dual Kawase Blur](Assets/X-PostProcessing/Effects/DualKawaseBlur) - [Dual Gaussian Blur](Assets/X-PostProcessing/Effects/DualGaussianBlur) - [Dual Box Blur](Assets/X-PostProcessing/Effects/DualBoxBlur) - [Dual Tent Blur](Assets/X-PostProcessing/Effects/DualTentBlur) - [Bokeh Blur](Assets/X-PostProcessing/Effects/BokehBlur) - [Tilt Shift Blur](Assets/X-PostProcessing/Effects/TiltShiftBlur) - [Tilt Shift Blur V2](Assets/X-PostProcessing/Effects/TiltShiftBlurV2) - [Iris Blur](Assets/X-PostProcessing/Effects/IrisBlur) - [Iris Blur V2](Assets/X-PostProcessing/Effects/IrisBlurV2) - [Grainy Blur](Assets/X-PostProcessing/Effects/GrainyBlur) - [Radial Blur](Assets/X-PostProcessing/Effects/RadialBlur) - [Radial Blur V2](Assets/X-PostProcessing/Effects/RadialBlurV2) - [Directional Blur](Assets/X-PostProcessing/Effects/DirectionalBlur) - 像素化型后处理 | Pixelate Effects - [Pixelize Quad](Assets/X-PostProcessing/Effects/PixelizeQuad) - [Pixelize Led](Assets/X-PostProcessing/Effects/PixelizeLed) - [Pixelize Leaf](Assets/X-PostProcessing/Effects/PixelizeLeaf) - [Pixelize Circle](Assets/X-PostProcessing/Effects/PixelizeCircle) - [Pixelize Diamond](Assets/X-PostProcessing/Effects/PixelizeDiamond) - [Pixelize Sector](Assets/X-PostProcessing/Effects/PixelizeSector) - [Pixelize Diamond](Assets/X-PostProcessing/Effects/PixelizeDiamond) - [Pixelize Triangle](Assets/X-PostProcessing/Effects/PixelizeTriangle) - [Pixelize Hexagon](Assets/X-PostProcessing/Effects/PixelizeHexagon) - [Pixelize Hexagon Grid](Assets/X-PostProcessing/Effects/PixelizeHexagonGrid) - 边缘检测型后处理 | Edge Detection Effects - [Edge Detection Sobel](Assets/X-PostProcessing/Effects/EdgeDetectionSobel) - [Edge Detection Sobel Neon](Assets/X-PostProcessing/Effects/EdgeDetectionSobelNeon) - [Edge Detection Sobel Neon V2](Assets/X-PostProcessing/Effects/EdgeDetectionSobelNeonV2) - [Edge Detection Roberts](Assets/X-PostProcessing/Effects/EdgeDetectionRoberts) - [Edge Detection Roberts Neon](Assets/X-PostProcessing/Effects/EdgeDetectionRobertsNeon) - [Edge Detection Roberts Neon V2](Assets/X-PostProcessing/Effects/EdgeDetectionRobertsNeonV2) - [Edge Detection Scharr](Assets/X-PostProcessing/Effects/EdgeDetectionScharr) - [Edge Detection Scharr Neon](Assets/X-PostProcessing/Effects/EdgeDetectionScharrNeon) - [Edge Detection Scharr Neon V2](Assets/X-PostProcessing/Effects/EdgeDetectionScharrNeonV2) - Color Adjustment Effects - Glitch Effects - Stylized Effects - Painting Effects - Image Processing Effects - ... More effects and LWRP/URP/HDRP version will arrive soon. # 2. 部分渲染效果图 | Selected Gallery 以下是一些调节后处理参数时的渲染效果动图: The following are some gif when adjusting various post-processing attributes:               需要查看更多渲染效果图和每个特效的参数与属性,可以在 [目录 ](#jump) 部分的具体后处理特效子页面中查看。 For more gallery , you can enter the specific post-processing effects sub-page in the [ Content ](#jump) section. # 3. 安装 | Installation 有两种主要的安装X-PostProcessing Library的方法: - 【方法一】 克隆或下载此Repo,并直接使用Unity打开。建议可先从已设置好后处理的示例场景 [Assets/Example/ExampleScene.unity](Assets/Example/ExampleScene.unity) 开始。 - 【方法二】 将[X-PostProcessing](Assets/X-PostProcessing) 文件夹放置在项目Assets路径下的任一位置,并确保Post Processing Stack v2也位于项目中。 You have two main ways to install X-PostProcessing Library : - **[Method 1]** Clone or download this repository , open with Unity Engine Editor and enjoy. It is recommended to start with the example scene [Assets/Example/ExampleScene.unity](Assets/Example/ExampleScene.unity) . - **[Method 2]** Place the [X-PostProcessing](Assets/X-PostProcessing) folder anywhere in your project, make sure that Post Processing Stack v2 is in the project as well, and enjoy. # 4. 使用 | Usage post processing profile 有各种不同的修改和添加方式,最常规的方法是,选中一个post processing profile ,在Inspetor窗口下: - `Add effect... > X-PostProcessing > 选择一种新的后处理` The new effect should be available for a post processing profile with different injection points,just like: - `Add effect... > X-PostProcessing > Choose an effect` # 5. 环境 | Environment - 建议使用Unity 2017.2+。 - 如果使用的是较旧版本的Unity(5.6 或 2017.1),则需要将[此文件夹](https://github.com/QianMo/X-PostProcessing-Library/tree/master/Assets/PostProcessing-2) 替换为 [pps v2 2.1.8](https://github.com/Unity-Technologies/PostProcessing/tree/bec8546fc498db388cedadd14021cc7006338cc4)。 - Unity 2017.2+ is recommended. - if you use older versions of Unity (5.6 and 2017.1) , you need to replace [this folder](https://github.com/QianMo/X-PostProcessing-Library/tree/master/Assets/PostProcessing-2) with [pps v2 2.1.8](https://github.com/Unity-Technologies/PostProcessing/tree/bec8546fc498db388cedadd14021cc7006338cc4).