Skip to content

Commit

Permalink
Disabling anti-aliasing to get rid of Black Screen on Docker or MVs w…
Browse files Browse the repository at this point in the history
…hen using OpenGL 4.5. See gazebosim/gz-sim#1116
  • Loading branch information
rubenanapu committed Jun 8, 2023
1 parent fd1fd61 commit 005ba8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/minimal_scene/MinimalScene.cc
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ std::string GzRenderer::Initialize()
this->dataPtr->camera->SetFarClipPlane(this->cameraFarClip);
this->dataPtr->camera->SetImageWidth(this->textureSize.width());
this->dataPtr->camera->SetImageHeight(this->textureSize.height());
this->dataPtr->camera->SetAntiAliasing(8);
this->dataPtr->camera->SetAntiAliasing(0);
this->dataPtr->camera->SetHFOV(this->cameraHFOV);
// setting the size and calling PreRender should cause the render texture to
// be rebuilt
Expand Down

0 comments on commit 005ba8f

Please sign in to comment.