removed unneeded texture members, added mipmaps

This commit is contained in:
devZoGok
2021-11-20 09:00:41 +02:00
parent a78f6ad32a
commit cbbe6589ea
8 changed files with 54 additions and 46 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ int main(){
textMat->addBoolUniform("texturingEnabled", true);
string frames[]{TEX_PATH + "bricks.jpg", TEX_PATH + "defaultTexture.jpg"};
Texture *texture = new Texture(frames, 2);
Texture *texture = new Texture(frames, 2, false);
textMat->addTexUniform("textures[0]", texture, true);
for(int i = 0; i < numTexts; i++){