mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:48:09 +02:00
Switched back to half res depth when resolutionLevel>1
This commit is contained in:
parent
8e914fa565
commit
6240454c55
1 changed files with 1 additions and 2 deletions
|
@ -458,8 +458,7 @@ const gpu::PipelinePointer& AmbientOcclusionEffect::getBuildNormalsPipeline() {
|
||||||
}
|
}
|
||||||
|
|
||||||
int AmbientOcclusionEffect::getDepthResolutionLevel() const {
|
int AmbientOcclusionEffect::getDepthResolutionLevel() const {
|
||||||
// Having some problems making a nice AO with Half resolution depth, so stick to full res.
|
return std::min(1, _aoParametersBuffer->getResolutionLevel());
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AmbientOcclusionEffect::run(const render::RenderContextPointer& renderContext, const Inputs& inputs, Outputs& outputs) {
|
void AmbientOcclusionEffect::run(const render::RenderContextPointer& renderContext, const Inputs& inputs, Outputs& outputs) {
|
||||||
|
|
Loading…
Reference in a new issue