Эх сурвалжийг харах

[unity] Restructuring cleanup - moved shaders to unified location. Updated CHANGELOG LWRP section and added section about restructuring changes.

Harald Csaszar 6 жил өмнө
parent
commit
c394057e34

+ 10 - 2
CHANGELOG.md

@@ -148,8 +148,16 @@
     * **Usage:** The package provides two shaders specifically built for the lightweight render pipeline:
       * `Lightweight Render Pipeline/Spine/Skeleton Lit`, as a lightweight variant of the `Spine/Skeleton Lit` shader and
       * `Lightweight Render Pipeline/Spine/Sprite`, as a lightweight variant of the `Spine/Sprite/Vertex Lit` and `Pixel Lit` shaders, which were not functioning in the lightweight render pipeline. The shaders can be assigned to materials as usual and will respect your settings of the assigned `LightweightRenderPipelineAsset` under `Project Settings - Graphics`.
-    * **Example:** You can find an example scene in the package under `com.esotericsoftware.spine.lwrp-shaders-3.8/Examples/LWRP Shaders.unity` that demonstrates the use of the above shaders.
-
+    * **Restrictions** As all Spine shaders, the LWRP shaders **do not support `Premultiply alpha` (PMA) atlas textures in Linear color space**. Please export your atlas textures as `straight alpha` textures with disabled `Premultiply alpha` setting when using Linear color space. You can check the current color space via `Project Settings - Player - Other Settings - Color Space.`.
+    * **Example:** You can find an example scene in the package under `com.esotericsoftware.spine.lwrp-shaders-3.8/Examples/LWRP Shaders.unity` that demonstrates usage of the LWRP shaders.
+
+* **Restructuring (Non-Breaking)**
+  
+  Note: The following changes will most likely not affect users of the Spine-Unity runtime as the API remains unchanged and no references are invalidated.
+  * Removed duplicates of `.cginc` files in `Modules/Shaders/Sprite` that were also present in the `Modules/Shaders/Sprite/CGIncludes` directory.
+  * Moved shaders from `Modules/Shaders` to `Shaders` directory.
+  * Moved shaders from `Modules/SkeletonGraphic/Shaders` to `Shaders/SkeletonGraphic`.
+  
 ### XNA/MonoGame
 * Updated to latest MonoGame version 3.7.1
 * Rewrote example project to be cleaner and better demonstrate basic Spine features.

+ 0 - 0
spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Shaders.meta → spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Materials.meta


+ 0 - 0
spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Shaders/SkeletonGraphicDefault.mat → spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Materials/SkeletonGraphicDefault.mat


+ 0 - 0
spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Shaders/SkeletonGraphicDefault.mat.meta → spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Materials/SkeletonGraphicDefault.mat.meta


+ 0 - 0
spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Shaders/SkeletonGraphicTintBlack.mat → spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Materials/SkeletonGraphicTintBlack.mat


+ 0 - 0
spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Shaders/SkeletonGraphicTintBlack.mat.meta → spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Materials/SkeletonGraphicTintBlack.mat.meta


+ 0 - 0
spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Shaders/Spine-SkeletonGraphic-TintBlack.shader → spine-unity/Assets/Spine/Runtime/spine-unity/Shaders/SkeletonGraphic/Spine-SkeletonGraphic-TintBlack.shader


+ 0 - 0
spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Shaders/Spine-SkeletonGraphic-TintBlack.shader.meta → spine-unity/Assets/Spine/Runtime/spine-unity/Shaders/SkeletonGraphic/Spine-SkeletonGraphic-TintBlack.shader.meta


+ 0 - 0
spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Shaders/Spine-SkeletonGraphic.shader → spine-unity/Assets/Spine/Runtime/spine-unity/Shaders/SkeletonGraphic/Spine-SkeletonGraphic.shader


+ 0 - 0
spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/Shaders/Spine-SkeletonGraphic.shader.meta → spine-unity/Assets/Spine/Runtime/spine-unity/Shaders/SkeletonGraphic/Spine-SkeletonGraphic.shader.meta