mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
tweak modelScale to 2.0 for better space invaders
This commit is contained in:
parent
468cd0d8bb
commit
055dae5f78
1 changed files with 2 additions and 2 deletions
|
@ -101,8 +101,8 @@ void ParticleTreeRenderer::renderElement(OctreeElement* element, RenderArgs* arg
|
|||
glm::vec3 scale(1.0f,1.0f,1.0f);
|
||||
|
||||
// TODO: There is some kind of a bug in packing of the particle packets which is causing modelscale to
|
||||
// sometimes be garbage. We will temporarily make it always 1.0
|
||||
float modelScale = 1.0f; /// particle.getModelScale()
|
||||
// sometimes be garbage.
|
||||
float modelScale = 2.0f; /// particle.getModelScale()
|
||||
model->setScale(scale * MODEL_SCALE * radius * modelScale);
|
||||
|
||||
model->simulate(0.0f);
|
||||
|
|
Loading…
Reference in a new issue