Jump to content

  • Log In with Google      Sign In   
  • Create Account

noodleBowl

Member Since 08 Sep 2013
Offline Last Active Dec 17 2014 04:31 PM

#5195272 Super Cool Effects

Posted by noodleBowl on 28 November 2014 - 05:49 PM

So all those effects are done just using multiple textures and blending them all together? Thats it, nothing really special?

 

I hope this makes sense, but couldn't I just "pre" blend my special effect textures in photoshop and render them as normal? Why even use the GPU to do this for me?

 

glBlendFunc(GL_ONE, GL_ONE) usually does it smile.png

 

Could you explain the difference between this and what I have below? I don't truly understand the glBendFunc command. I just know that what I have below allows me to blend textures that use a Alpha channel. Would this work for what I want to do?

glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
 



#5195214 Super Cool Effects

Posted by noodleBowl on 28 November 2014 - 10:08 AM

I was wondering if anyone could point me to a good starting point or give me a detailed explanation as I'm not really sure where to start. I'm working on a 2D focused game engine which targets OpenGL 3.3+ and I'm wondering how do I do effects?

 

When I mean effects I'm talking things that glow, fire, power auras, etc

 

 

The glowing auras, bullets, anything in this picture

geometrywars.jpg

 

The blue glow of the pylon crystals, the green backs of the banelings, the blue zealot sword glow, the green baneling explosions

ss87-hires.jpg

 




PARTNERS