mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
removed unneeded texture members, added mipmaps
This commit is contained in:
@@ -196,7 +196,7 @@ namespace vb01{
|
||||
void Root::createSkybox(string paths[6]){
|
||||
skybox = new Box(Vector3(1, 1, 1) * 10);
|
||||
Material *skyboxMat = new Material(libPath + "skybox");
|
||||
Texture *texture = new Texture(paths);
|
||||
Texture *texture = new Texture(paths, 6, true);
|
||||
skyboxMat->addTexUniform("skybox", texture, true);
|
||||
skybox->setMaterial(skyboxMat);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user