enable model color
This commit is contained in:
parent
2df76f020b
commit
c85a84a52e
@ -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),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user