PBR more or less working, still working on bringing gizmos back
This commit is contained in:
parent
cb34b70df1
commit
53d8f2b1ec
45 changed files with 3021 additions and 587 deletions
|
|
@ -960,9 +960,9 @@ void GridMap::_octant_bake(const OctantKey &p_key, const Ref<TriangleMesh>& p_tm
|
|||
|
||||
st->add_to_format(VS::ARRAY_FORMAT_COLOR);
|
||||
if (m.is_valid()) {
|
||||
Ref<FixedMaterial> fm = m;
|
||||
Ref<FixedSpatialMaterial> fm = m;
|
||||
if (fm.is_valid())
|
||||
fm->set_fixed_flag(FixedMaterial::FLAG_USE_COLOR_ARRAY,true);
|
||||
fm->set_fixed_flag(FixedSpatialMaterial::FLAG_USE_COLOR_ARRAY,true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue