Update entity.cpp
Make lighting effect regular entites the same as multi-textured ones.
This commit is contained in:
@@ -155,8 +155,10 @@ void Entity::render() {
|
||||
glTexCoordPointer(2, GL_FLOAT, 0, nullptr);
|
||||
}
|
||||
|
||||
if (!multiTexture)
|
||||
if (!multiTexture) {
|
||||
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_BLEND);
|
||||
getGeometry()->draw();
|
||||
}
|
||||
|
||||
if (multiTexture) {
|
||||
auto* multi = (MultiTexture*) getTexture();
|
||||
|
Reference in New Issue
Block a user