[unity] Fixed URP Skeleton Lit shader secondary lights not displayed in build. Closes #2493.

This commit is contained in:
Harald Csaszar 2024-03-27 19:15:22 +01:00
parent e630d1bda7
commit 04667ae67c
2 changed files with 3 additions and 3 deletions

View File

@ -44,13 +44,13 @@ Shader "Universal Render Pipeline/Spine/Skeleton Lit" {
// -------------------------------------
// Lightweight Pipeline keywords
#pragma multi_compile _ _MAIN_LIGHT_SHADOWS
#pragma multi_compile _ _MAIN_LIGHT_SHADOWS_CASCADE
#pragma multi_compile _ _MAIN_LIGHT_SHADOWS _MAIN_LIGHT_SHADOWS_CASCADE _MAIN_LIGHT_SHADOWS_SCREEN
#pragma multi_compile _ _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS
#pragma multi_compile _ _ADDITIONAL_LIGHT_SHADOWS
#pragma multi_compile _ _SHADOWS_SOFT
#pragma multi_compile _ _MIXED_LIGHTING_SUBTRACTIVE
#pragma multi_compile _ _LIGHT_AFFECTS_ADDITIVE
#pragma multi_compile_fragment _ _LIGHT_COOKIES
#pragma shader_feature _TINT_BLACK_ON
// Farward+ renderer keywords
#pragma multi_compile_fragment _ _LIGHT_LAYERS

View File

@ -2,7 +2,7 @@
"name": "com.esotericsoftware.spine.urp-shaders",
"displayName": "Spine Universal RP Shaders",
"description": "This plugin provides universal render pipeline (URP) shaders for the spine-unity runtime.\n\nPrerequisites:\nIt requires a working installation of the spine-unity runtime, version 4.2.\n(See http://esotericsoftware.com/git/spine-runtimes/spine-unity)",
"version": "4.2.30",
"version": "4.2.31",
"unity": "2019.3",
"author": {
"name": "Esoteric Software",