LWRP : Fetch Ligthmap Value - not working
Posted: Mon Feb 04, 2019 4:37 pm
Hello there,
Using the Fetch Lightmap Value Shader function in the LWRP results in the following error :
Shader type is Leightweight PBR.
Switching back to surface and not using LRWP makes the shader work again.
Please help me out,
Kind Regards,
HansBernd
Using the Fetch Lightmap Value Shader function in the LWRP results in the following error :
- Code: Select all
Shader error in 'Default_Opaque': redefinition of 'unity_Lightmap' at line 68 (on d3d11)
Compiling Vertex program
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_LIGHTMAP_RGBM_ENCODING
Shader type is Leightweight PBR.
Switching back to surface and not using LRWP makes the shader work again.
Please help me out,
Kind Regards,
HansBernd