summaryrefslogtreecommitdiffstats
path: root/res/raw/staticstar_fs.glsl
blob: ce03eee6280b869069b2d4ef6d2f8f6cca7e8725 (plain)
1
2
3
4
5
6
7
8
9
varying float pointSize;

void main()  {
    if (pointSize > 4.0) {
        gl_FragColor = texture2D(UNI_Tex1, gl_PointCoord);
    } else {
        gl_FragColor = texture2D(UNI_Tex0, gl_PointCoord);
    }
}