diff --git a/wadsrc/static/shaders/glsl/shaderdefs.i b/wadsrc/static/shaders/glsl/shaderdefs.i index 2870cf975..242b7244b 100644 --- a/wadsrc/static/shaders/glsl/shaderdefs.i +++ b/wadsrc/static/shaders/glsl/shaderdefs.i @@ -1,5 +1,9 @@ // This file contains common data definitions for both vertex and fragment shader +// these settings are actually pointless but there seem to be some old ATI drivers that fail to compile the shader without setting the precision here. +precision highp int; +precision highp float; + uniform vec4 uCameraPos; uniform int uTextureMode; uniform float uClipHeightTop, uClipHeightBottom;