You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
PBR more or less working, still working on bringing gizmos back
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user