Author Topic: (WebGL) One Million Particles  (Read 2232 times)

0 Members and 1 Guest are viewing this topic.

Stefan

  • Global Moderator
  • Hero Member

  • Offline
  • *****

  • 2912
    • View Profile
(WebGL) One Million Particles
« on: November 02, 2013, 04:07:53 PM »
Quote
Simulates One Million Particles with attraction towards the cursor.

All calculations are done on the GPU using shaders.



Chrome for Android fails with:
E/chromium(23960): [ERROR:gles2_cmd_decoder.cc(2879)] [.WebGLRenderingContext]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete (clear)
I/chromium(23960): [INFO:CONSOLE(0)] "GL_INVALID_ENUM : glActiveTexture: texture was GL_FALSE", source: https://googledrive.com/host/0B1o_MFQJ8TN7cFRpellKMFRfbzQ/ (0)
I/chromium(23960): [INFO:CONSOLE(0)] "WebGL: drawElements: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'. Or the texture is Float or Half Float type with linear filtering while OES_float_linear or OES_half_float_linear extension is not enabled.", source: https://googledrive.com/host/0B1o_MFQJ8TN7cFRpellKMFRfbzQ/ (0)