diff options
author | Juan Linietsky <reduzio@gmail.com> | 2019-07-21 11:31:30 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2020-02-11 11:53:29 +0100 |
commit | 8bbbb973361f367a4888629c571fb6f43581269d (patch) | |
tree | 89724be2ee4a81111bedd383668665e0ae3bf276 /servers/visual_server.cpp | |
parent | 50e9befb888480a3d6cb2fa46b58c0753b69bd86 (diff) |
Completed material/2D shader support (missing SCREEN_TEXTURE)
Diffstat (limited to 'servers/visual_server.cpp')
-rw-r--r-- | servers/visual_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp index 80f8ad3bf0..eaad141b8c 100644 --- a/servers/visual_server.cpp +++ b/servers/visual_server.cpp @@ -1652,7 +1652,6 @@ void VisualServer::_bind_methods() { ClassDB::bind_method(D_METHOD("material_create"), &VisualServer::material_create); ClassDB::bind_method(D_METHOD("material_set_shader", "shader_material", "shader"), &VisualServer::material_set_shader); - ClassDB::bind_method(D_METHOD("material_get_shader", "shader_material"), &VisualServer::material_get_shader); ClassDB::bind_method(D_METHOD("material_set_param", "material", "parameter", "value"), &VisualServer::material_set_param); ClassDB::bind_method(D_METHOD("material_get_param", "material", "parameter"), &VisualServer::material_get_param); ClassDB::bind_method(D_METHOD("material_set_render_priority", "material", "priority"), &VisualServer::material_set_render_priority); @@ -2365,6 +2364,7 @@ VisualServer::VisualServer() { GLOBAL_DEF("rendering/quality/depth_prepass/disable_for_vendors", "PowerVR,Mali,Adreno,Apple"); GLOBAL_DEF("rendering/quality/filters/use_nearest_mipmap_filter", false); + GLOBAL_DEF("rendering/quality/filters/max_anisotropy", 4); } VisualServer::~VisualServer() { |