mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-14 09:30:50 -05:00
Feature/intel atmosphere (#1691)
* Add object names to atmosphere textures * Fix for rendering atmospheres on Intel chips * General cleanup of the atmosphere rendering code to make a it more modular
This commit is contained in:
@@ -1067,7 +1067,6 @@ void FramebufferRenderer::updateDeferredcastData() {
|
||||
|
||||
std::filesystem::path vsPath = caster->deferredcastVSPath();
|
||||
std::filesystem::path fsPath = caster->deferredcastFSPath();
|
||||
std::filesystem::path deferredShaderPath = caster->deferredcastPath();
|
||||
|
||||
ghoul::Dictionary dict;
|
||||
dict.setValue("rendererData", _rendererData);
|
||||
@@ -1086,17 +1085,10 @@ void FramebufferRenderer::updateDeferredcastData() {
|
||||
_deferredcastPrograms[caster] = ghoul::opengl::ProgramObject::Build(
|
||||
"Deferred " + std::to_string(data.id) + " raycast",
|
||||
vsPath,
|
||||
deferredShaderPath,
|
||||
fsPath,
|
||||
dict
|
||||
);
|
||||
|
||||
_deferredcastPrograms[caster]->setIgnoreSubroutineUniformLocationError(
|
||||
ghoul::opengl::ProgramObject::IgnoreError::Yes
|
||||
);
|
||||
_deferredcastPrograms[caster]->setIgnoreUniformLocationError(
|
||||
ghoul::opengl::ProgramObject::IgnoreError::Yes
|
||||
);
|
||||
|
||||
caster->initializeCachedVariables(*_deferredcastPrograms[caster]);
|
||||
}
|
||||
catch (ghoul::RuntimeError& e) {
|
||||
|
||||
Reference in New Issue
Block a user