Guassian Blur with variable/changable blur amount?

New releases and general discussions.

Post » Sat Mar 01, 2008 9:57 pm

The Gaussian Blur looks very nice, but it isn't that useful constantly stuck at 13px.

I think it would be more helpful if you made the blur amount an attribute. This, combined with Construct's very intuitive zooming, would make for some amazing Depth of Field effects.
B
2
G
4
Posts: 13
Reputation: 1,076

Post » Sat Mar 01, 2008 10:23 pm

I want to do this, but I haven't managed to dig up any information on a fast variable-radius gaussian blur algorithm. If you open the .fx files in the Effects folder for the blurs, you'll see they're hard coded with the blur values for 13 pixel blur. If you can find any more info on this, I'd gladly have a shot at variable blurs!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Sat Mar 01, 2008 11:43 pm

[quote="Ashley":2q6mb8xh]I want to do this, but I haven't managed to dig up any information on a fast variable-radius gaussian blur algorithm. If you open the .fx files in the Effects folder for the blurs, you'll see they're hard coded with the blur values for 13 pixel blur. If you can find any more info on this, I'd gladly have a shot at variable blurs![/quote:2q6mb8xh]

Ah.

Well, I'm an artist, not a coder.

I just assumed that "13" would be easy to replace with a "INSERT VALUE HERE". Forgive my ignorance. :lol:
B
2
G
4
Posts: 13
Reputation: 1,076

Post » Sat Mar 01, 2008 11:51 pm

I'm sure it's possible because games like half-life 2 have variable blurs. I'll try research it some more anyway.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests