1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Modernized default 3D material, fixes material bugs.

This commit is contained in:
Juan Linietsky
2019-09-15 01:01:52 -03:00
parent 6deffa62fb
commit dd3682e5fe
42 changed files with 1298 additions and 891 deletions

View File

@@ -53,9 +53,10 @@ public:
ShaderLanguage::TextureFilter default_filter;
ShaderLanguage::TextureRepeat default_repeat;
String sampler_array_name;
int base_texture_binding_index;
int texture_layout_set;
int base_texture_binding_index = 0;
int texture_layout_set = 0;
String base_uniform_string;
uint32_t base_varying_index = 0;
};
private: