summaryrefslogtreecommitdiff
path: root/scene/resources/material.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/material.cpp')
-rw-r--r--scene/resources/material.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp
index 2627898f5f..8e0e38152f 100644
--- a/scene/resources/material.cpp
+++ b/scene/resources/material.cpp
@@ -1914,12 +1914,6 @@ void BaseMaterial3D::_validate_feature(const String &text, Feature feature, Prop
}
}
-void BaseMaterial3D::_validate_high_end(const String &text, PropertyInfo &property) const {
- if (property.name.begins_with(text)) {
- property.usage |= PROPERTY_USAGE_HIGH_END_GFX;
- }
-}
-
void BaseMaterial3D::_validate_property(PropertyInfo &p_property) const {
_validate_feature("normal", FEATURE_NORMAL_MAPPING, p_property);
_validate_feature("emission", FEATURE_EMISSION, p_property);
@@ -1933,10 +1927,6 @@ void BaseMaterial3D::_validate_property(PropertyInfo &p_property) const {
_validate_feature("refraction", FEATURE_REFRACTION, p_property);
_validate_feature("detail", FEATURE_DETAIL, p_property);
- _validate_high_end("refraction", p_property);
- _validate_high_end("subsurf_scatter", p_property);
- _validate_high_end("heightmap", p_property);
-
if (p_property.name == "emission_intensity" && !GLOBAL_GET("rendering/lights_and_shadows/use_physical_light_units")) {
p_property.usage = PROPERTY_USAGE_NONE;
}