-ability to set default textures in shader (needed for visual shader editing)

-work in progress new graph system (will replace current one)
-crash fix in s3m loader (out of bounds acess)
-fixed vbox overriding of separation (fixes empty line between section tabs)
This commit is contained in:
Juan Linietsky 2014-12-21 11:42:44 -03:00
parent 9783f6fc96
commit f7f197c409
23 changed files with 353 additions and 46 deletions

View file

@ -756,6 +756,10 @@ public:
virtual void shader_get_param_list(RID p_shader, List<PropertyInfo> *p_param_list) const;
virtual void shader_set_default_texture_param(RID p_shader, const StringName& p_name, RID p_texture);
virtual RID shader_get_default_texture_param(RID p_shader, const StringName& p_name) const;
/* COMMON MATERIAL API */
virtual RID material_create();