Closed dsafa22 closed 4 years ago
You can look at lucy_bloom.cpp
or sample-gltf-bloom/.../MainActivity.kt
at this commit but yes we should provide a simple demo. (These demos were removed after we implemented a proper bloom system within Filament itself.)
Here are links to the source files that I mentioned:
Because I will render the offscreen one in other graphic engine.
What's the other graphic engine? What are you trying to achieve? Filament's RenderTarget API is meant for when you use Filament to render, not an outside engine.
Thanks a lot!
Because I will render the offscreen one in other graphic engine.
What's the other graphic engine? What are you trying to achieve? Filament's RenderTarget API is meant for when you use Filament to render, not an outside engine.
I use Filament's RenderTarget to render 3D object to offscreen FrameBuffer.
And I render the FrameBuffer texture to other graphic engine.
That is my purpose.
Simply : Filament to render. Other graphic engine render to screen.
Because I will render the offscreen one in other graphic engine.
What's the other graphic engine? What are you trying to achieve? Filament's RenderTarget API is meant for when you use Filament to render, not an outside engine.
I use Filament's RenderTarget to render 3D object to offscreen FrameBuffer.
And I render the FrameBuffer texture to other graphic engine.
That is my purpose.
Simply : Filament to render. Other graphic engine render to screen.
HI, i met the same need. How can you make offscreen-rendering
work. i use the importTexture
api to convert a opengles texture to filament texture, and regard it as color attachment of render-target.However, i didn't make it. Is it convinient for you to share you core or demo? thanks.
I want to know mush about the use of RenderTarget.
But there is no samples.
Such as I want to render a view in offscreen RenderTarget and then render the offscreen one in screen RenderTarget. Because I will render the offscreen one in other graphic engine.