diff options
Diffstat (limited to 'res/raw/staticstar_fs.glsl')
-rw-r--r-- | res/raw/staticstar_fs.glsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/res/raw/staticstar_fs.glsl b/res/raw/staticstar_fs.glsl new file mode 100644 index 0000000..ce03eee --- /dev/null +++ b/res/raw/staticstar_fs.glsl @@ -0,0 +1,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); + } +}
\ No newline at end of file |