[]Unity导出插件Shader报错。

Shader error in 'LayaAir3D/BlinnPhong': invalid subscript '_ShadowCoord' 'unitySampleShadow': no matching 1 parameter function at Assets/LayaAir3D/LayaShader/CGIncludes/LayaBlinnPhongFA.cginc(104) (on d3d11)

Compiling Vertex program with DIRECTIONAL SHADOWS_SCREEN LIGHTMAP_ON DisableLighting
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME
使用的Unity版本是Unity2017.1.3p1
已邀请:

Aar0n

赞同来自:

这个问题 在 https://ask.layabox.com/question/4242 插件解答帖跟帖

要回复问题请先

商务合作
商务合作