mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 20:50:59 -05:00
Fix rendering bugs and commented a TODO in layeredtextureshaderprovider.cpp
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user