Hello,
We're creating an app for the ML2, which a portion of our rendering draws a grid of evenly spaced lines placed on the ground plane. Currently we do the grid rendering using a mesh of triangles, with a simple ml::app_framework::FlatMaterial
for the material.
As the lines of the grid can extend far off into the distance, simply with the user slightly rotating his/her head results in moiré patterns and flickering of the individual grid lines.
We attempted to enable using MSAA antialiasing as an initial first step by adding the following sample buffer definition to the EGL configuration attributes in the GraphicsContext class:
EGL_SAMPLE_BUFFERS,
1,
EGL_SAMPLES,
8,
...however, while a valid EGL configuration is found with these attributes, the visual result remains unchanged.
Is there something else that needs to be done to enable MSAA with a native application?
Thank you!
ML2 OS version: 1.4.1
MLSDK version: 1.4.1
Host OS: MacOS
Error messages from logs: none