↧
Hundreds of Thousands of Particles at 60 fps
Recently been getting to grips with Cinder, OpenGL and GLSL for a project. I managed to get close to a million particles drawing at around 60fps Here’s what I did to achieve this: Firstly I created a...
View ArticleOpenGL / Cinder – Custom Dynamic Attributes Example (GLSL 1.2)
Here’s an example of using dynamic custom attributes in GLSL 1.2 and Cinder. I also found this link useful! void makeVBO() { gl::VboMesh::Layout layout; layout.setDynamicPositions();...
View ArticleGLSL 1.2 – Memory Error when using Attributes (Solution)
MAKE SURE YOU ARE ACTIVELY USING AND REFERENCING THE ATTRIBUTES IN THE SHADER!
View ArticleMSAA (Anti-aliasing) on FBO’s in Cinder
Framebuffer objects in Cinder (by default) have no anti-aliasing which leaves your edges jagged. The solution is to create a Framebuffer format and specify the number of samples to use. gl::Fbo::Format...
View Article