Rename uniform to parameter across the engine
This commit is contained in:
parent
1c037c89d4
commit
8191b3c110
80 changed files with 1523 additions and 1494 deletions
|
|
@ -919,8 +919,8 @@ void fragment() {
|
|||
)");
|
||||
handle_material->set_shader(handle_shader);
|
||||
Ref<Texture2D> handle = EditorNode::get_singleton()->get_gui_base()->get_theme_icon(SNAME("EditorBoneHandle"), SNAME("EditorIcons"));
|
||||
handle_material->set_shader_uniform("point_size", handle->get_width());
|
||||
handle_material->set_shader_uniform("texture_albedo", handle);
|
||||
handle_material->set_shader_parameter("point_size", handle->get_width());
|
||||
handle_material->set_shader_parameter("texture_albedo", handle);
|
||||
|
||||
handles_mesh_instance = memnew(MeshInstance3D);
|
||||
handles_mesh_instance->set_cast_shadows_setting(GeometryInstance3D::SHADOW_CASTING_SETTING_OFF);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue