Skip to content

Commit ead9678

Browse files
authored
Merge pull request #6 from kenrussell/fix-hdr-shader
Fix precision issue in HDR upsampling shader.
2 parents 0795c7c + 6eb9c4c commit ead9678

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)