Completed material/2D shader support (missing SCREEN_TEXTURE)
This commit is contained in:
parent
50e9befb88
commit
8bbbb97336
29 changed files with 3607 additions and 532 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue