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:

utp9xfr

Left - image in the app Right - original image in Preview screen shot 2017-04-03 at 10 16 55

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)

Most upvoted comments

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 GLView I think and need a custom framebuffer cuz GLView doesn’t support readPixels(...).