DragonBones / DragonBonesUnity

75 stars 33 forks source link

I'm getting a Shader error when trying to compile the project for Android target #15

Open SlavomirDurej opened 3 years ago

SlavomirDurej commented 3 years ago

Using Unity 2019.4.0f1

When trying to build the project I am getting the following error:

Shader error in 'DragonBones/BlendModes/Framebuffer': invalid ps_5_0 output semantic 'VCOLOR1' at line 68 (on gles3)

Compiling Vertex program Platform defines: UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER SHADER_API_MOBILE UNITY_HARDWARE_TIER1 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_D

this is the part of the code that throws the error:

`fixed4 frag(output vo

ifdef UNITY_FRAMEBUFFER_FETCH_AVAILABLE

            , inout fixed4 fetchColor : COLOR1
            #endif
            ) : SV_Target`

Can you please advice?