mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 02:25:56 +02:00
Switched back to full float for outline depth buffer because of precision issues
This commit is contained in:
parent
2d598f3428
commit
7910b0d8ff
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ void OutlineFramebuffer::allocate() {
|
|||
|
||||
auto width = _frameSize.x;
|
||||
auto height = _frameSize.y;
|
||||
auto format = gpu::Element(gpu::SCALAR, gpu::HALF, gpu::RED);
|
||||
auto format = gpu::Element(gpu::SCALAR, gpu::FLOAT, gpu::RED);
|
||||
|
||||
_depthTexture = gpu::TexturePointer(gpu::Texture::createRenderBuffer(format, width, height));
|
||||
_depthFramebuffer = gpu::FramebufferPointer(gpu::Framebuffer::create("outlineDepth"));
|
||||
|
|
Loading…
Reference in a new issue