Compile Error: invalid subscript '_ShadowCoord' - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html) +--- Thread: Compile Error: invalid subscript '_ShadowCoord' (/thread-469.html) |
Compile Error: invalid subscript '_ShadowCoord' - Quidam - 07-03-2018 I'm using Unity 2017.3.1.f1. In searching for this error, I see it was mentioned in the Obi Rope forum in late January. I checked the suggested solution and it appears that they are as they should be: "Obi/Resources/ObiMaterials/ParticleShader.shader, line 20 should look like this: #pragma multi_compile_fwdbase nolightmap" The error follows: Shader error in 'Obi/Particles': invalid subscript '_ShadowCoord' at line 82 (on d3d11) Compiling Vertex program with DIRECTIONAL SHADOWS_SHADOWMASK LIGHTPROBE_SH 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_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENCODING |