indians with particle party! Particel renderer fix for tilesets with fog enabled.
This commit is contained in:
parent
15783511fd
commit
96114d25e4
|
@ -1,7 +1,7 @@
|
|||
// ==============================================================
|
||||
// This file is part of Glest Shared Library (www.glest.org)
|
||||
//
|
||||
// Copyright (C) 2001-2008 Martiño Figueroa
|
||||
// Copyright (C) 2001-2008 Marti<EFBFBD>o Figueroa
|
||||
//
|
||||
// You can redistribute this code and/or modify it under
|
||||
// the terms of the GNU General Public License as published
|
||||
|
@ -96,6 +96,7 @@ void ParticleRendererGl::renderSystem(ParticleSystem *ps){
|
|||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
}
|
||||
glDisable(GL_ALPHA_TEST);
|
||||
glDisable(GL_FOG);
|
||||
glAlphaFunc(GL_GREATER, 0.0f);
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
glEnableClientState(GL_VERTEX_ARRAY);
|
||||
|
|
Loading…
Reference in New Issue