summaryrefslogtreecommitdiff
path: root/res/raw/dot_fs.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'res/raw/dot_fs.glsl')
-rw-r--r--res/raw/dot_fs.glsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/raw/dot_fs.glsl b/res/raw/dot_fs.glsl
new file mode 100644
index 0000000..3ef90ed
--- /dev/null
+++ b/res/raw/dot_fs.glsl
@@ -0,0 +1,6 @@
+varying float pointSize;
+
+void main() {
+ gl_FragColor = texture2D(UNI_Tex0, gl_PointCoord);
+ gl_FragColor.a = pointSize;
+} \ No newline at end of file