Opened 11 years ago

Closed 11 years ago

#2037 closed defect (fixed)

Water shader errors related to refraction

Reported by: historic_bruno Owned by: wraitii
Priority: Release Blocker Milestone: Alpha 14
Component: Core engine Keywords:
Cc: wraitii Patch:

Description

After r13556, I get the following error loading a water map, with waterrefraction and waterrealdepth disabled:

ERROR: Failed to compile shader 'shaders/glsl/water_high.fs':
Fragment shader failed to compile with the following errors:
ERROR: 0:221: error(#143) Undeclared identifier: perceivedDepth
ERROR: error(#273) 1 compilation errors. No code generated 

Also occurs when changing the same water settings in-game.

Change History (1)

comment:1 by wraitii, 11 years ago

Owner: set to wraitii
Resolution: fixed
Status: newclosed

In 13562:

Fixes #2037

Note: See TracTickets for help on using tickets.