Permalink
Browse files

resolved warning is fragment shader

  • Loading branch information...
1 parent 65f4457 commit dd1cb4d24f411a09a9af1b443514d471ad8f9b54 @hrvthzs committed Nov 30, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 shaders/shader.fs
  2. +1 −1 src/particles_renderer.cpp
View
@@ -23,7 +23,7 @@ void main()
vec3 N;
N.xy = position.xy - fragPos.xy;
-
+ N.z = 0.0;
N *= correction;
N.y /= aspectRatio;
float mag = dot(N.xy, N.xy);
@@ -12,7 +12,7 @@ namespace Particles {
Renderer::Renderer(Simulator* simulator) {
this->_simulator = simulator;
- this->_numParticles = 20000;
+ this->_numParticles = 15000;
this->_animate = false;
this->_deltaTime = 0.0;

0 comments on commit dd1cb4d

Please sign in to comment.