Skip to content
Snippets Groups Projects

Visually neutral viewer

Merged Jonathan Kunstwald requested to merge feature/visually-neutral-viewer into master
21 files
+ 217
141
Compare changes
  • Side-by-side
  • Inline
Files
21
@@ -45,19 +45,6 @@ void glow::pipeline::LightingCombinationStage::onExecuteStage(RenderContext cons
shader.setTexture("uDepth", mStageDepthPre->getTargetDepth());
shader.setUniform("uCamPos", ctx.camData.camPos);
shader.setUniform("uSunDirection", ctx.scene.sunDirection);
shader.setUniform("uSunColor", ctx.scene.sunColor);
shader.setUniform("uSunIntensity", ctx.scene.sunIntensity);
shader.setUniform("uEnableAtmoScatter", ctx.scene.enableAtmoScatter);
shader.setUniform("uAtmoScatterIntensity", ctx.scene.atmoScatterIntensity);
shader.setUniform("uFogDensity", ctx.scene.atmoScatterDensity);
shader.setUniform("uAtmoScatterColor", ctx.scene.atmoScatterFogColor);
shader.setUniform("uHeightFalloffStart", ctx.scene.atmoScatterHeightFalloffStart);
shader.setUniform("uHeightFalloffEnd", ctx.scene.atmoScatterHeightFalloffEnd);
shader.setUniform("uHeightFalloffExponent", ctx.scene.atmoScatterHeightFalloffExponent);
geometry::FullscreenTriangle::draw();
}
}
Loading