Move shaders into their correct modules

Add path determination to modules that automatically sets correct path resolve tokens
This commit is contained in:
Alexander Bock
2015-05-21 15:17:38 +02:00
parent e51df4b2a0
commit ca7dcd4762
52 changed files with 212 additions and 68 deletions
+7
View File
@@ -33,7 +33,14 @@
namespace openspace {
VolumeModule::VolumeModule() {
setName("Volume");
}
bool VolumeModule::initialize() {
bool success = OpenSpaceModule::initialize();
if (!success)
return false;
auto fRenderable = FactoryManager::ref().factory<Renderable>();
ghoul_assert(fRenderable, "No renderable factory existed");
+1
View File
@@ -31,6 +31,7 @@ namespace openspace {
class VolumeModule : public OpenSpaceModule {
public:
VolumeModule();
bool initialize() override;
};