mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 07:13:57 +02:00
Fixing warnings
This commit is contained in:
parent
1eb4acf815
commit
5827993125
2 changed files with 1 additions and 5 deletions
|
@ -491,7 +491,6 @@ void RenderDeferredLocals::run(const render::SceneContextPointer& sceneContext,
|
|||
|
||||
auto eyePoint = viewFrustum.getPosition();
|
||||
float nearRadius = glm::distance(eyePoint, viewFrustum.getNearTopLeft());
|
||||
float nearClip = 1.01f * viewFrustum.getNearClip();
|
||||
|
||||
auto deferredLightingEffect = DependencyManager::get<DeferredLightingEffect>();
|
||||
|
||||
|
|
|
@ -137,9 +137,7 @@ void SubsurfaceScattering::configure(const Config& config) {
|
|||
void SubsurfaceScattering::run(const render::SceneContextPointer& sceneContext, const render::RenderContextPointer& renderContext, Outputs& outputs) {
|
||||
assert(renderContext->args);
|
||||
assert(renderContext->args->hasViewFrustum());
|
||||
|
||||
RenderArgs* args = renderContext->args;
|
||||
|
||||
|
||||
if (!_scatteringResource->getScatteringTable()) {
|
||||
_scatteringResource->generateScatteringTable(renderContext->args);
|
||||
}
|
||||
|
@ -510,7 +508,6 @@ void DebugSubsurfaceScattering::run(const render::SceneContextPointer& sceneCont
|
|||
|
||||
|
||||
auto& frameTransform = inputs.get0();
|
||||
auto& lightingModel = inputs.get1();
|
||||
auto& curvatureFramebuffer = inputs.get2();
|
||||
auto& diffusedFramebuffer = inputs.get3();
|
||||
auto& scatteringResource = inputs.get4();
|
||||
|
|
Loading…
Reference in a new issue