diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-01-16 14:53:19 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-01-16 14:53:19 +0000 |
commit | 46502022b2a4dcf6fd5af0817cc050a918b21280 (patch) | |
tree | 2ce78f5a8f30a8bb0f3b65ff8b4f44270b41181c /source/gl_tess.c | |
parent | 402aa3569a98a81f7f861bd13bb34038215c989c (diff) |
Made stdout blocking on Unix.
Made particle texture larger and more round.
`gl_texturemode' now defaults to `GL_LINEAR_MIPMAP_LINEAR'.
`gl_partscale' now defaults to `2'.
Re-added `gl_polyblend' variable.
Diffstat (limited to 'source/gl_tess.c')
-rw-r--r-- | source/gl_tess.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/gl_tess.c b/source/gl_tess.c index fc2bce7..cf312fb 100644 --- a/source/gl_tess.c +++ b/source/gl_tess.c @@ -146,7 +146,7 @@ void GL_DrawParticles( void ) { scale = gl_partscale->value; if( dist > 20 ) { - scale += dist * 0.006f; + scale += dist * 0.012f; } if( p->color == 255 ) { @@ -167,9 +167,9 @@ void GL_DrawParticles( void ) { VectorMA( dst_vert, scale, glr.viewaxis[2], dst_vert + 5 ); VectorMA( dst_vert, -scale, glr.viewaxis[1], dst_vert + 10 ); - dst_vert[3] = 0.0625f; dst_vert[4] = 0.0625f; - dst_vert[8] = 1.0625f; dst_vert[9] = 0.0625f; - dst_vert[13] = 0.0625f; dst_vert[14] = 1.0625f; + dst_vert[3] = 0; dst_vert[4] = 0; + dst_vert[8] = 2; dst_vert[9] = 0; + dst_vert[13] = 0; dst_vert[14] = 2; dst_color = ( uint32 * )tess.colors + numVertices; dst_color[0] = *( uint32 * )color; |