Remove flat for hue_change

It causes bad rendering in adreno 306 in android 5.0
This commit is contained in:
Benau 2018-02-02 21:17:24 +08:00
parent e81e16c6da
commit e4c827176a
8 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
flat in float hue_change;
in float hue_change;
in vec4 color;
in vec3 normal;

View File

@ -1,6 +1,6 @@
uniform float custom_alpha;
flat in float hue_change;
in float hue_change;
in vec2 uv;
in vec4 color;

View File

@ -1,4 +1,4 @@
flat in float hue_change;
in float hue_change;
in vec3 normal;
in vec2 uv;

View File

@ -25,7 +25,7 @@ layout(location = 12) in ivec2 i_misc_data;
out vec3 normal;
out vec2 uv;
flat out float hue_change;
out float hue_change;
void main()
{

View File

@ -1,4 +1,4 @@
flat in float hue_change;
in float hue_change;
in vec4 color;
in vec2 uv;

View File

@ -38,7 +38,7 @@ out vec2 uv_two;
out vec4 color;
out vec4 world_position;
out float camdist;
flat out float hue_change;
out float hue_change;
void main()
{

View File

@ -44,7 +44,7 @@ out vec2 uv;
out vec2 uv_two;
out vec4 color;
out float camdist;
flat out float hue_change;
out float hue_change;
void main()
{

View File

@ -1,4 +1,4 @@
flat in float hue_change;
in float hue_change;
in vec4 color;
in vec3 normal;