mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
We need to adjust the directory on OS X before we attempt to load the shaders.
This commit is contained in:
parent
1f58e28b36
commit
da822e5299
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
|||
|
||||
#include <QByteArray>
|
||||
|
||||
#include <SharedUtil.h>
|
||||
|
||||
#include "Camera.h"
|
||||
#include "Environment.h"
|
||||
#include "renderer/ProgramObject.h"
|
||||
|
@ -14,6 +16,7 @@
|
|||
#include "world.h"
|
||||
|
||||
void Environment::init() {
|
||||
switchToResourcesParentIfRequired();
|
||||
_skyFromAtmosphereProgram = createSkyProgram("Atmosphere", _skyFromAtmosphereUniformLocations);
|
||||
_skyFromSpaceProgram = createSkyProgram("Space", _skyFromSpaceUniformLocations);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue