-
Hello, I am currently encountering an issue where MSAA does not work after drawing on SkSurface when I bind a texture using SKImage.FromTexture. I am not clear on how to resolve this. I have previously used the same code and extensions with MSAA working effectively when using the ImGui.Image function in ImGui. The platform I am using is: GLES 3.2 The workflow is: I create a Mult sample framebuffer using the EXT_multisampled_render_to_texture extension, and the color attachment binds the texture that needs to be displayed. This is the code for creating the frame buffer, where _glFormat, _glType, _glFormatAndType respectively represent GLEnum.Rgba, GLEnum.UnsignedByte, GLEnum.Rgba8. Finally, bind to skimage using SKImage.FromTexture. This is the project code address. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The problem has been resolved. Skia disables multisampling when rendering text, which causes MSAA to be unavailable during subsequent drawings. |
Beta Was this translation helpful? Give feedback.
The problem has been resolved. Skia disables multisampling when rendering text, which causes MSAA to be unavailable during subsequent drawings.