nehon
4
Ok I found the issue
This adds “precision mediump float;” right after the version
1 #version 150 core
2 precision mediump float;
3 #define FRAGMENT_SHADER 1
4 #define FILTER_MODE 3
5 #define PCFEDGE 1.0
6 #define SHADOWMAP_SIZE 1024.0
7 #define PSSM 1
8 #define BACKFACE_SHADOWS 1
9 #extension GL_ARB_gpu_shader5 : enable
It’s before the extension, and since it’s not a preprocessor directive, it’ crashes with your error.
I’m gonna dig a bit to see if we can efficiently add it after the #extension stuff.