gl-react: Bad quality of image in Node/Surface
Hello, @gre !
bug report
gl-react/next + gl-react-native/next
cookbookrn@0.0.1
├── gl-react@3.0.0-alpha.6
└── gl-react-native@3.0.0-alpha.6
Expected behavior
Asset has good quality (as if I put it in <Image />)
Actual behavior
Bad quality - blurry image
Steps to reproduce the behavior
Download cookbook-rn, run example “Saturation”.
Original image:

Left - image in the app
Right - original image in Preview

Is it possible to improve quality of image in Surface?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20 (17 by maintainers)
Awesome!!! Yeah the MSAA code makes a separate framebuffer and does https://www.khronos.org/registry/OpenGL/extensions/APPLE/APPLE_framebuffer_multisample.txt on it. We can’t use
GLViewI think and need a custom framebuffer cuzGLViewdoesn’t supportreadPixels(...).