mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
18 lines
306 B
Text
18 lines
306 B
Text
|
precision highp float;
|
||
|
precision lowp int;
|
||
|
|
||
|
uniform float fh1;
|
||
|
uniform highp float fh2;
|
||
|
uniform mediump float fm;
|
||
|
|
||
|
uniform int il1;
|
||
|
uniform lowp int il2;
|
||
|
uniform mediump int im;
|
||
|
|
||
|
|
||
|
void main() {
|
||
|
lowp float f = fh1 + fh2 + fm;
|
||
|
highp int i = il1 + il2 + im;
|
||
|
gl_FragColor = vec4(f, i, 0.0, 0.0);
|
||
|
}
|