You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use readPixels to read the rendered result back to host memory with PixelDataFormat::RGBA, everything goes well. My question is it possible to convert the resultant rendered texture from RGBA to NV12 in the material file(.mat)? I know how to do it with opengl fragment shader, but don't know whether it can be achieved with filament supported features or any customizable post-pocessing modules?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I use
readPixels
to read the rendered result back to host memory withPixelDataFormat::RGBA
, everything goes well. My question is it possible to convert the resultant rendered texture from RGBA to NV12 in the material file(.mat)? I know how to do it with opengl fragment shader, but don't know whether it can be achieved with filament supported features or any customizable post-pocessing modules?Beta Was this translation helpful? Give feedback.
All reactions