You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
-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:
@@ -157,6 +157,16 @@ void VisualServerRaster::shader_get_param_list(RID p_shader, List<PropertyInfo>
|
||||
}
|
||||
|
||||
|
||||
void VisualServerRaster::shader_set_default_texture_param(RID p_shader, const StringName& p_name, RID p_texture) {
|
||||
|
||||
rasterizer->shader_set_default_texture_param(p_shader,p_name,p_texture);
|
||||
}
|
||||
|
||||
RID VisualServerRaster::shader_get_default_texture_param(RID p_shader, const StringName& p_name) const{
|
||||
|
||||
return rasterizer->shader_get_default_texture_param(p_shader,p_name);
|
||||
}
|
||||
|
||||
|
||||
/* Material */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user