Fix rendering bugs and commented a TODO in layeredtextureshaderprovider.cpp

This commit is contained in:
Kalle Bladin
2016-05-13 18:19:29 -04:00
parent 6c13686229
commit 6601282402
2 changed files with 6 additions and 2 deletions
@@ -97,6 +97,7 @@ namespace openspace {
_preprocessingData = preprocessingData;
ghoul::Dictionary shaderDictionary;
// Different texture types can be height maps or color texture for example
// These are used differently within the shaders.
auto textureTypes = _preprocessingData.layeredTextureInfo;
@@ -111,6 +112,11 @@ namespace openspace {
_vsPath,
_fsPath);
// TODO : THIS CAN'T BE DONE SINCE SHADER PROGRAM NEEDS TO RESOLVE FRAGMENTS
// FIX. HOW CAN THE RENDERING MODE BE ABSTRACTED AWAY WHEN BUILDING USING
// DICTIONARIES?
/*
try {
_programObject = ProgramObject::Build(
@@ -120,7 +126,6 @@ namespace openspace {
shaderDictionary);
}
catch (ghoul::RuntimeError& error) {
LERROR(error.message);
}
*/
@@ -22,7 +22,6 @@
* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
****************************************************************************************/
#version __CONTEXT__
#include "PowerScaling/powerScaling_vs.hglsl"