Bloom in C2?

Post your completed addons to share with the community

Post » Fri Nov 08, 2013 3:34 am

I'm still looking for some plugins or easy ways to do bloom/glow without layering every sprite 3 times. I tried looking for GLSL programmers on a couple of different sites and never got any takers. I was willing to pay someone to make plugins for C2, but alas nothing.

Has anyone made any progress on this? I checked the forums and all the posts seem to be for CC not C2. Thanks for reading :D
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Fri Nov 08, 2013 8:15 am

What's wrong with the glow horizontal and glow vertical layer effect shaders? They work perfectly for me.
B
43
S
5
G
5
Posts: 410
Reputation: 5,742

Post » Fri Nov 08, 2013 5:01 pm

Glow blurs the sprite. Blooms should start at the edge. Unless I am not correct with this.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Mon Nov 11, 2013 7:10 am

I haven't used the bloom in C2, but generally for consoles bloom is a render pass at half, or less, of the resolution (faking a blurrier image without having to do any blur processing), and only drawing the lighter pixels. A fun way to replicate this in a program like photoshop is to duplicate a screen grab, shrink the image to 25%, scale it back up to original size, then bring it over to the other image and set the layer mode to "screen." Try it out and see if it looks like your desired results with the C2 settings.
B
2
Posts: 1
Reputation: 152

Post » Mon Nov 11, 2013 1:57 pm

Do you just want to increase the size of a sprite at a constant rate? If so then try this:

for loop
-increase size of object
-wait 0.1 seconds

I am not 100% sure what a bloom function should do but I am assuming that you just want to scale the object at a constant rate.
AlKanadi2013-11-11 13:57:31
B
4
Posts: 14
Reputation: 230

Post » Mon Nov 11, 2013 5:20 pm

[QUOTE=firebelly] I'm still looking for some plugins or easy ways to do bloom/glow without layering every sprite 3 times. I tried looking for GLSL programmers on a couple of different sites and never got any takers. I was willing to pay someone to make plugins for C2, but alas nothing.

Has anyone made any progress on this? I checked the forums and all the posts seem to be for CC not C2. Thanks for reading :D[/QUOTE]

As of now there's no bloom, but you could try changing the effects of the glow vertical/horizontal shaders (why is that 2 shaders again? Makes no sense) down to around 35-55 and you'll get a decent bloom effect w/o obvious blur.
B
70
S
40
G
24
Posts: 518
Reputation: 20,070

Post » Mon Nov 11, 2013 10:07 pm

I'm trying to go for that nice dynamic lighting effect of games like Legend of Dungeon. Obviously, we can't do that level of effect, but at least a nice glow would be nice. I'm still not seeing a plugin that just makes a sprite glow without the blur. On top of that one that can change color on the fly.

Below are 3 sprites. 1 with C2 glow and a sprite above to make it easy to see, the next is without the C2 Glow and the final one is something i added via Photoshop. A sprite with an "Outter Glow".



I know the easiest way to do this, make a sprite with a glow, and use additive and use 2 sprites. This seems like a lot of work when we have access to WebGL...
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Mon Nov 11, 2013 11:37 pm

You can layer effects, so you can also slap on tint on top of the glow effects.

If that screenshot is the look you're going for, I'd just use a second sprite pinned under the first, set to add or screen, and put a tint effect on the individual sprite - you've now got full color control. Just scale it for different light sizes. Works well for me (see below).

The game you reference also looks like it has some normal-based shading going on, so maybe look into the normal mapping C2 is capable of if you want to emulate that look more closely.

Maybe also take a gander here: http://www.scirra.com/forum/effect-2d-dynamic-lighting_topic59130.html

digitalsoapbox2013-11-11 23:43:38
B
70
S
40
G
24
Posts: 518
Reputation: 20,070


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest