Add note about segmentation images to offsamples documentation.

PiperOrigin-RevId: 622830327
Change-Id: I8e15ce65babc86086335b0f9010db5be581460fc
This commit is contained in:
Yuval Tassa
2024-04-08 06:50:06 -07:00
committed by Copybara-Service
parent feccf7ec96
commit 366041756d
+3
View File
@@ -751,6 +751,9 @@ visualization should somehow be simplified.
anti-aliasing but can slow down the GPU. Set this to 0 to disable multi-sampling. Note that this attribute only
affects offscreen rendering. For regular window rendering, multi-sampling is specified in an OS-dependent way when
the OpenGL context for the window is first created, and cannot be changed from within MuJoCo.
|br| When rendering segmentation images, multi-sampling is automatically disabled so as not to average segmentation
indices. However, some rendering backends ignore the automatic disabling. If your segmentation images contain bad
indices, try manually setting this attribute to 0.
.. _visual-quality-numslices: