weather system

  1. E.M.I

    Shaders Cannot pass in uniform values to shaders

    [RESOLVED] Hi! I'm trying to create a day-night cycle for my game. I plan to do this by using a shader to change the color of a transparent sprite that stretches across the whole room. Though for now, I'm only trying to pass in a uniform value that I'll use for the color. My code is: In the...
  2. Z

    Particle systems and memory leaks

    Hi everyone. I'm currently making a weather system, with the current states: "sunny" "cloudy" "rain" "storm" "snow" "snowstorm" I can get it to work and it looks beautifull, but whenever I leave the game on too long, or stay in a room for too long, the game experiences more and more lag to the...