mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
removed unneeded texture members, added mipmaps
This commit is contained in:
@@ -44,7 +44,7 @@ int main(){
|
||||
mat->addBoolUniform("lightingEnabled", false);
|
||||
mat->addBoolUniform("texturingEnabled", true);
|
||||
string images[] = {TEX_PATH + "defaultTexture.jpg"};
|
||||
Texture *texture = new Texture(images, 1);
|
||||
Texture *texture = new Texture(images, 1, false);
|
||||
mat->addTexUniform("textures[0]", texture, true);
|
||||
model->setMaterial(mat);
|
||||
rootNode->attachChild(model);
|
||||
|
||||
Reference in New Issue
Block a user