Changes between Initial Version and Version 8 of Ticket #3781


Ignore:
Timestamp:
Feb 22, 2016, 1:26:36 PM (8 years ago)
Author:
elexis
Comment:
  • 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!

http://trac.wildfiregames.com/raw-attachment/ticket/3781/0ad_water.gif

Legend:

Unmodified
Added
Removed
Modified