When I am using a pointlight for shadows, the fragment shader can not be compiled.
It happens both on Windows 10 native and Browser (Chrome).
Defines: #define DIFFUSE
#define BUMP
#define SPECULARTERM
#define NORMAL
#define UV1
#define SHADOWS
#define LIGHT0
#define LIGHT1
#define POINTLIGHT0
#define POINTLIGHT1
#define DIRLIGHT0
#define SHADOW0
#define SHADOW1
#define SHADOWPCF0
#define SHADOWPCF1
#define BonesPerMesh 0
#define NUM_BONE_INFLUENCERS 0
Error: WARNING: 0:21: '
' : extension directive should occur before any non-preprocessor tokens
ERROR: 0:764: 'computeShadowWithPCFCube' : no matching overloaded function found
When I am using a pointlight for shadows, the fragment shader can not be compiled.
It happens both on Windows 10 native and Browser (Chrome).