commit | 646ff43b4e358492c98f17d1e969f73afbd283cb | [log] [tgz] |
---|---|---|
author | Leon Hong <leonhong@google.com> | Wed May 23 12:29:13 2012 -0700 |
committer | Leon Hong <leonhong@google.com> | Wed May 23 12:29:13 2012 -0700 |
tree | f9845000a92db822294b5be16dc4fefa60e84419 | |
parent | 952a4923d05bdedf9ff11ff8286bce82745fcbff [diff] |
Fixed dot_vs.glsl to work on nakasi Change-Id: I3981e82751d94e95fdcbb3b8822051ea4c48033f
diff --git a/res/raw/dot_vs.glsl b/res/raw/dot_vs.glsl index e4ebeed..9cf3c74 100644 --- a/res/raw/dot_vs.glsl +++ b/res/raw/dot_vs.glsl
@@ -2,7 +2,7 @@ void main() { vec4 objPos = vec4(ATTRIB_position, 1.0); - float tmpPointSize = objPos.z*7.0; + float tmpPointSize = ATTRIB_position.z*7.0; pointSize = 0.5-tmpPointSize/1000.0; objPos.z = 0.0; objPos.x = objPos.x - ATTRIB_offsetX * tmpPointSize/100.0;