mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-12 22:39:09 -05:00
Move shaders into their correct modules
Add path determination to modules that automatically sets correct path resolve tokens
This commit is contained in:
@@ -120,8 +120,8 @@ bool RenderableSphere::initialize() {
|
||||
|
||||
// pscstandard
|
||||
_shader = ghoul::opengl::ProgramObject::Build("Sphere",
|
||||
"${SHADERS}/modules/sphere/sphere_vs.glsl",
|
||||
"${SHADERS}/modules/sphere/sphere_fs.glsl");
|
||||
"${MODULES}/base/shaders/sphere_vs.glsl",
|
||||
"${MODULES}/base/shaders/sphere_fs.glsl");
|
||||
if (!_shader)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user