[EFFECT] - GS #6 Sobel Edge Detection

Share your Construct 2 effect files

Post » Fri Dec 06, 2013 4:42 am

Here's a pretty standard shader effect with a demo CAPX program for you to try out. Yes, we know there is already an Outline effect, but we couldn't get that one to work properly.

SOBEL EDGE DETECTION SHADER:
http://gameswarp.com/studio/?p=299
OUTLINE SHADER:
http://www.scirra.com/forum/topic59504.html

For those who want a challenge, go ahead and modify our shader code to implement a edge detection line thickness effect as in the Outline effect. It would serve as a good tutorial base to work with. Open both Outline.fx and Edge.fx with a text editor and see what needs to be tweaked. Remember to edit Edge.xml to introduce the new line thickness parameter.

Thanks,
GamesWarp Studionecromaster2013-12-06 04:43:12
=========================================
If you are on Linkedin, join other C2 professionals and network on the Scirra Construct 2 Developer Group at https://www.linkedin.com/groups?home=&gid=6732005
B
47
S
11
G
6
Posts: 193
Reputation: 7,714

Post » Fri Dec 06, 2013 5:23 am

Great! Don't stop making new shaders!
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Fri Dec 06, 2013 5:30 am

When time permits... sure will
=========================================
If you are on Linkedin, join other C2 professionals and network on the Scirra Construct 2 Developer Group at https://www.linkedin.com/groups?home=&gid=6732005
B
47
S
11
G
6
Posts: 193
Reputation: 7,714


Return to Effects

Who is online

Users browsing this forum: No registered users and 1 guest