summaryrefslogtreecommitdiff
path: root/bullet_fragment.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'bullet_fragment.glsl')
-rw-r--r--bullet_fragment.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bullet_fragment.glsl b/bullet_fragment.glsl
index 3bd7717..550585b 100644
--- a/bullet_fragment.glsl
+++ b/bullet_fragment.glsl
@@ -2,7 +2,7 @@ varying mat4 v_tex_rot;
uniform sampler2D tex;
void main() {
- vec2 l_uv = gl_PointCoord;
+ vec2 l_uv = gl_TexCoord[0].xy;
const vec2 l_offset = vec2(0.5, 0.5);
l_uv -= l_offset;
l_uv = vec2(v_tex_rot * vec4(l_uv, 0.0, 1.0));