projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
send player region
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
point_map.h
diff --git
a/shaders/point_map.h
b/shaders/point_map.h
index 5c674cd6fa5534327b448cc00c3822dad7cfaca5..006c98f93b28042b238f68468d12ab4f565a1400 100644
(file)
--- a/
shaders/point_map.h
+++ b/
shaders/point_map.h
@@
-75,7
+75,7
@@
static struct vg_shader _shader_point_map = {
" vs_motion_out( vproj0, vproj1 );\n"
"\n"
" gl_Position = vproj0;\n"
" vs_motion_out( vproj0, vproj1 );\n"
"\n"
" gl_Position = vproj0;\n"
-" gl_PointSize = (9.0*scaler) / (
gl_Position.z + 0.01
);\n"
+" gl_PointSize = (9.0*scaler) / (
max( gl_Position.z, 2.0 )
);\n"
" aWorldCo = world_pos0;\n"
" aColour = a_colour*scaler*(1.0-uAnim.y*uAnim.y);\n"
" aCo = co;\n"
" aWorldCo = world_pos0;\n"
" aColour = a_colour*scaler*(1.0-uAnim.y*uAnim.y);\n"
" aCo = co;\n"