enable model color

This commit is contained in:
Quaternions 2023-09-29 01:58:31 -07:00
parent 2df76f020b
commit c85a84a52e

View File

@ -250,7 +250,7 @@ pub fn generate_indexed_models_roblox(dom:rbx_dom_weak::WeakDom) -> Result<(Inde
}; };
indexed_models[model_id].instances.push(ModelInstance { indexed_models[model_id].instances.push(ModelInstance {
model_transform, model_transform,
color: glam::Vec4::ONE,//glam::vec4(color3.r as f32/255f32, color3.g as f32/255f32, color3.b as f32/255f32, 1.0-*transparency), color:glam::vec4(color3.r as f32/255f32, color3.g as f32/255f32, color3.b as f32/255f32, 1.0-*transparency),
}); });
} }
} }