Fix varregion scene capture and legacy rendering
This commit is contained in:
@@ -112,6 +112,8 @@ pub struct BlinnPhongMaterial {
|
||||
pub fullbright: bool,
|
||||
pub double_sided: bool,
|
||||
pub alpha_mode: AlphaMode,
|
||||
/// Optional diffuse-texture cutout applied before face-alpha blending.
|
||||
pub alpha_cutoff: Option<f32>,
|
||||
}
|
||||
|
||||
impl Default for BlinnPhongMaterial {
|
||||
@@ -127,6 +129,7 @@ impl Default for BlinnPhongMaterial {
|
||||
fullbright: false,
|
||||
double_sided: false,
|
||||
alpha_mode: AlphaMode::Opaque,
|
||||
alpha_cutoff: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user