mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 14:11:15 +02:00
indians with particle party! Particel renderer fix for tilesets with fog enabled.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// ==============================================================
|
||||
// This file is part of Glest Shared Library (www.glest.org)
|
||||
//
|
||||
// Copyright (C) 2001-2008 Marti<74>o Figueroa
|
||||
// Copyright (C) 2001-2008 Marti<74>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);
|
||||
|
Reference in New Issue
Block a user