Skip to content
Snippets Groups Projects
Verified Commit b75552d8 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

Adjusted values to wooden ball

parent d6752ceb
No related branches found
No related tags found
1 merge request!103Added project wobble_bobble and refactored some parts of the framework
......@@ -24,7 +24,7 @@ shared Particle shared_particles [SHARED_PARTICLES_BATCH_SIZE];
void main() {
const vec3 position = (vec3(gl_GlobalInvocationID) + vec3(0.5f)) / imageSize(gridImage);
const float elasticity_module = 2.5f * 1000000.0f; // 10..15 = Wood
const float elasticity_module = 12.5f * 1000000.0f; // 10..15 = Wood
memoryBarrierImage();
......
......@@ -136,8 +136,8 @@ int main(int argc, const char **argv) {
particles_vec.data(),
particles_vec.size(),
glm::vec3(0.5f),
0.25f,
1.0f
0.05f,
0.27f
);
particles.fill(particles_vec);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment