|
@@ -915,8 +915,6 @@ void RasterizerCanvasGLES3::_record_item_commands(const Item *p_item, RID p_rend
|
|
|
state.instance_data_array[r_index].flags = base_flags;
|
|
|
state.instance_data_array[r_index].instance_uniforms_ofs = p_item->instance_allocated_shader_uniforms_offset;
|
|
|
|
|
|
- state.instance_data_array[r_index].flags = base_flags | (state.instance_data_array[r_index == 0 ? 0 : r_index - 1].flags & (BATCH_FLAGS_DEFAULT_NORMAL_MAP_USED | BATCH_FLAGS_DEFAULT_SPECULAR_MAP_USED)); // Reset on each command for safety, keep canvastexture binding config.
|
|
|
-
|
|
|
Color blend_color = base_color;
|
|
|
GLES3::CanvasShaderData::BlendMode blend_mode = p_blend_mode;
|
|
|
if (c->type == Item::Command::TYPE_RECT) {
|