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
|
|
@ -57,8 +57,8 @@ void Texture3DEditor::_texture_changed() {
|
|||
}
|
||||
|
||||
void Texture3DEditor::_update_material() {
|
||||
material->set_shader_uniform("layer", (layer->get_value() + 0.5) / texture->get_depth());
|
||||
material->set_shader_uniform("tex", texture->get_rid());
|
||||
material->set_shader_parameter("layer", (layer->get_value() + 0.5) / texture->get_depth());
|
||||
material->set_shader_parameter("tex", texture->get_rid());
|
||||
|
||||
String format = Image::get_format_name(texture->get_format());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue