Properly pass reads_view_transmission_texture() through ExtendedMaterial

This commit is contained in:
Marco Buono 2023-10-18 00:46:23 -03:00
parent 50faf11062
commit d4ad6253ad

View file

@ -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)
}