mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
Properly pass reads_view_transmission_texture()
through ExtendedMaterial
This commit is contained in:
parent
50faf11062
commit
d4ad6253ad
1 changed files with 4 additions and 0 deletions
|
@ -199,6 +199,10 @@ impl<B: Material, E: MaterialExtension> Material for ExtendedMaterial<B, E> {
|
|||
B::depth_bias(&self.base)
|
||||
}
|
||||
|
||||
fn reads_view_transmission_texture(&self) -> bool {
|
||||
B::reads_view_transmission_texture(&self.base)
|
||||
}
|
||||
|
||||
fn opaque_render_method(&self) -> crate::OpaqueRendererMethod {
|
||||
B::opaque_render_method(&self.base)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue