- With the latest patch after compiling:
ERROR: Failed to compile shader 'shaders/glsl/water_high.fs':
Fragment shader failed to compile with the following errors:
ERROR: 0:260: error(#143) Undeclared identifier: refColor
ERROR: 0:260: error(#202) No matching overloaded function found: mix
ERROR: 0:260: error(#160) Cannot convert from: "const float" to: "highp 3-component vector of vec3"
ERROR: 0:331: error(#143) Undeclared identifier: alphaCoeff
ERROR: error(#273) 4 compilation errors. No code generated
Options:
waterfancyeffects = "true"
waternormals = "false"
waterrealdepth = "false"
waterreflection = "false"
waterrefraction = "false"
watershadows = "true"
waterugly = "false"
Switching some functions (in particular water-refraction) triggers errors too.
- Why do you change things like
ReflectionTextureSize
to RefTextureSize
? (Could the error even have something to do with this?) Ref
reads less descriptive than Reflection
.
- Comments should start with capital letters
- But the effect looks impressive and it should be committed in my opinion!