Revert "refactor: use bevy_sk PbrMaterial instead of StandardMaterial"

This reverts commit 7b126557df.
This commit is contained in:
Schmarni
2025-07-08 00:37:29 +02:00
parent a4a43d3ceb
commit a8d3b1fda1
6 changed files with 24 additions and 25 deletions

View File

@@ -92,10 +92,10 @@ fn spawn_text(
text: text_string,
material: material_registry.get_handle(
BevyMaterial {
color: style.color.to_bevy(),
emission_factor: Color::WHITE,
base_color: style.color.to_bevy(),
emissive: Color::WHITE.to_linear(),
metallic: 0.0,
roughness: 1.0,
perceptual_roughness: 1.0,
// If alpha is supported on text we need to change this
alpha_mode: AlphaMode::Opaque,
double_sided: false,