Skip to content

Commit 6eb9c4c

Browse files
committed
Fix precision issue in HDR upsampling shader.
1 parent 0795c7c commit 6eb9c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hdr/hdr.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
<script id="bicubicUpsamplingVertexShader" type="text/something-not-javascript">
219219
attribute vec4 position;
220220
varying vec2 v_texCoord;
221-
uniform vec2 u_imageIncrement;
221+
uniform mediump vec2 u_imageIncrement;
222222
void main() {
223223
v_texCoord = (position.xy + 1.0) * 0.5 - vec2(0.5, 0.5) * u_imageIncrement;
224224
gl_Position = position;

0 commit comments

Comments
 (0)