@@ -1,4 +1,5 @@
|
||||
#version 310 es
|
||||
#extension GL_OES_sample_variables : enable
|
||||
precision mediump float;
|
||||
in lowp float lowfin;
|
||||
in mediump float mediumfin;
|
||||
@@ -59,4 +60,5 @@ void main()
|
||||
mediumfout *= s.b;
|
||||
|
||||
mediumfout = ((mediumfin * mediumfin > 4.2) ? 2.0 * mediumfout : 3.0 * mediumfout);
|
||||
mediumfout = ((gl_SampleMaskIn[0] >> uniform_medium > 0) ? 2.0 * mediumfout : 3.0 * mediumfout);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user