mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
The Multi Pipeline now uses highp float
precision by default, instead of mediump
. This fixes issues with strange blue 'spots' appearing under WebGL on some Android devices. Fix #5751 #5659 #5655
This commit is contained in:
parent
725a869185
commit
b968e46ee2
4 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
module.exports = [
|
||||
'#define SHADER_NAME PHASER_MULTI_FS',
|
||||
'',
|
||||
'precision mediump float;',
|
||||
'precision highp float;',
|
||||
'',
|
||||
'uniform sampler2D uMainSampler[%count%];',
|
||||
'',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
module.exports = [
|
||||
'#define SHADER_NAME PHASER_MULTI_VS',
|
||||
'',
|
||||
'precision mediump float;',
|
||||
'precision highp float;',
|
||||
'',
|
||||
'uniform mat4 uProjectionMatrix;',
|
||||
'',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define SHADER_NAME PHASER_MULTI_FS
|
||||
|
||||
precision mediump float;
|
||||
precision highp float;
|
||||
|
||||
uniform sampler2D uMainSampler[%count%];
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define SHADER_NAME PHASER_MULTI_VS
|
||||
|
||||
precision mediump float;
|
||||
precision highp float;
|
||||
|
||||
uniform mat4 uProjectionMatrix;
|
||||
|
||||
|
|
Loading…
Reference in a new issue