Skip to content
Snippets Groups Projects
Verified Commit 3119489a authored by Josch Morgenstern's avatar Josch Morgenstern
Browse files

[#111] add params in push constant to flip shader

parent 299e8f9d
No related branches found
No related tags found
1 merge request!95Resolve "Wassersimulation mit Interaktion"
...@@ -25,7 +25,15 @@ layout(std430, binding = 0) writeonly buffer buffer_outParticle ...@@ -25,7 +25,15 @@ layout(std430, binding = 0) writeonly buffer buffer_outParticle
}; };
layout( push_constant ) uniform constants{ layout( push_constant ) uniform constants{
float deltaTime; float h;
float mass;
float gasConstant;
float offset;
float gravity;
float viscosity;
float ABSORBTION;
float dt;
vec3 gravityDir;
float particleCount; float particleCount;
}; };
......
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