Skip to content
Snippets Groups Projects
Commit 8a63e9fd authored by Alexander Gauggel's avatar Alexander Gauggel
Browse files

[#69] Slightly increase particle size

parent a7fa0ebd
No related branches found
No related tags found
1 merge request!56Resolve "Partikelsystem"
Pipeline #26072 failed
...@@ -40,6 +40,6 @@ void main() ...@@ -40,6 +40,6 @@ void main()
gl_Position = projection * positionView; gl_Position = projection * positionView;
// 0.01 corresponds to vertex position size in main // 0.01 corresponds to vertex position size in main
float normalizationDivider = 0.01; float normalizationDivider = 0.012;
passTriangleCoordinates = particle.xy / normalizationDivider; passTriangleCoordinates = particle.xy / normalizationDivider;
} }
\ No newline at end of file
...@@ -114,9 +114,9 @@ int main(int argc, const char **argv) { ...@@ -114,9 +114,9 @@ int main(int argc, const char **argv) {
true}; true};
particlePipelineDefinition.m_blendMode = vkcv::BlendMode::Additive; particlePipelineDefinition.m_blendMode = vkcv::BlendMode::Additive;
const std::vector<glm::vec3> vertices = {glm::vec3(-0.01, 0.01, 0), const std::vector<glm::vec3> vertices = {glm::vec3(-0.012, 0.012, 0),
glm::vec3(0.01, 0.01, 0), glm::vec3(0.012, 0.012, 0),
glm::vec3(0, -0.01, 0)}; glm::vec3(0, -0.012, 0)};
vertexBuffer.fill(vertices); vertexBuffer.fill(vertices);
......
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