-
Is it possible to build a custom renderer using Bevy's APIs? Specifically, I'd like to make a simple deferred renderer which will require MRT and multiple pass support. Is that even possible currently? I'm still new to Bevy, so forgive me if I've misunderstood. EDIT: To clarify, I mean while working within |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Can you?Bevy has a very modular design. Almost all components are regular plugins like you could write yourself. You can choose to omit the Should you?Probably not. |
Beta Was this translation helpful? Give feedback.
-
Can you pull out the Bevy renderer and run it without the rest of Bevy? Has anyone done that? Is there a sample 3D program? I've been using Rend3, and I need a plan B in case that project is abandoned. |
Beta Was this translation helpful? Give feedback.
Can you?
Bevy has a very modular design. Almost all components are regular plugins like you could write yourself. You can choose to omit the
bevy_render
andbevy_wgpu
(a wgpu based backend forbevy_render
) plugin and write your own renderer instead if you want. To disablebevy_render
, I think you can useapp.add_plugins_with(DefaultPlugins, |plugins| plugins.disable::<bevy::render::RenderPlugin>().disable::<bevy::wgpu::WgpuPlugin>())
instead ofapp.add_plugins(DefaultPlugins)
. You should then add systems to the respective stages to upload all necessary data to the gpu and draw it. Do know that other plugins only have integration forbevy_render
, so you will need to add this integration to…