Fix the Use Nearest Mipmap Filter project setting not working
The project setting wasn't being used anywhere. This also tweaks the property hints to denote that these properties are only effective after a restart.
This commit is contained in:
parent
7188cb6012
commit
635f6cdf2e
3 changed files with 24 additions and 6 deletions
|
|
@ -2826,8 +2826,8 @@ RenderingServer::RenderingServer() {
|
|||
GLOBAL_DEF("rendering/driver/depth_prepass/enable", true);
|
||||
GLOBAL_DEF("rendering/driver/depth_prepass/disable_for_vendors", "PowerVR,Mali,Adreno,Apple");
|
||||
|
||||
GLOBAL_DEF("rendering/textures/default_filters/use_nearest_mipmap_filter", false);
|
||||
GLOBAL_DEF("rendering/textures/default_filters/anisotropic_filtering_level", 2);
|
||||
GLOBAL_DEF_RST("rendering/textures/default_filters/use_nearest_mipmap_filter", false);
|
||||
GLOBAL_DEF_RST("rendering/textures/default_filters/anisotropic_filtering_level", 2);
|
||||
ProjectSettings::get_singleton()->set_custom_property_info("rendering/textures/default_filters/anisotropic_filtering_level", PropertyInfo(Variant::INT, "rendering/textures/default_filters/anisotropic_filtering_level", PROPERTY_HINT_ENUM, "Disabled (Fastest),2x (Faster),4x (Fast),8x (Average),16x (Slow)"));
|
||||
|
||||
GLOBAL_DEF("rendering/camera/depth_of_field/depth_of_field_bokeh_shape", 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue