[Effect] Simple Glow

0 favourites
From the Asset Store
5 glow creatures with size, shape and color variations.
  • A friend of mine is working on a glow effect for me so you don't have to do the double sprite thing.

    Here is an example of it now. Stepped antialias because of the gif.

    <img src="http://i.imgur.com/pcegfHv.gif" border="0">

    I'm curious what else people would want on this.

    These were my ideas for the settings and features.

    -Intensity (opacity)

    -Radius

    -Color

    -Follow boundary, not just a circle

    Downloads

    Version 0.1: https://dl.dropboxusercontent.com/u/122492/Downloads.7z

  • Following a boundary/alpha would be very useful. It seems to be more of an edge glow than a post effect that would be based on threshold, right?

  • It's is basically an edge glow, which is something I had been looking for when I wanted to do faux lighting. Also possible is using a mask to mimic lighting. Although this requires a mask sprite.

    <img src="http://i.imgur.com/xeHV3HU.gif" border="0" />

    I'm going to work with my buddy to see if follow edges can be done. The main concern is performance, this thing might be an issue on slower machines or lots of sprites.

  • Very Nice effect, do you plan to share it ?

    Actually for the same result i need to use big bitmap with alpha that isn't perfect at all.

  • Yeah, cleaning it up right now, will post soon.

  • As far as I can tell, the only way to make the bloom effect is to build upon an edge detection algorithm that's applied to texture2D(samplerFront, vTex). Since you need to apply an extension on the bounding box in the XML file for this effect to be any decent, it makes things a little weird.

    Any extension in the XML file turns the entire screen into normalized texture coordinates. So with an extension, the center of the screen is <0.5, 0.5>, whereas without, the center of the sprite has texture coordinates <0.5, 0.5>.

    Should be looking into it after finals.

  • Looking forward to this one!

  • This is Awesome! I really would love to use this effect for my sandbox game.It would be perfect for lighting.Is it possible to change how round the glow actually is?Other than that i cant wait to see this.

  • very cool, follow edges would be awesome ;]

  • I need to clean these up when I Can, but here is the effect, there are a couple versions in the zip file, some work better than others. This is a WIP at this point, and looking for help :)

    Big ups to Ed who made it.

    https://dl.dropboxusercontent.com/u/122492/Downloads.7z

  • firebelly

    Can you provide a Capx or explain how to use it ? Thanks.

  • Looking good so far.

    But could you change RGB to use 0-255 values instead of 0-1?

  • I'll try and put together a capx this weekend for you.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • firebelly

    Bump ! :)

    If it's too long to create a capx just explain in simple words here :)

    Ty !

  • firebelly

    Bump ! :)

    If it's too long to create a capx just explain in simple words here :)

    Ty !

    I'm going to try and rope in Ed again and clean up the effect so it doesn't need a tutorial. I was originally hoping someone could take over the code, but that's ok!

    The radialglow is really the closest to working.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)