What shader effects do you want?

Share your Construct 2 effect files

Post » Tue May 26, 2015 6:40 pm

rozpustelnik wrote:This would be great -> http://sheepeuh.com/rain/

Wow. Yup, that rain would do well.
B
30
S
15
G
14
Posts: 135
Reputation: 9,450

Post » Wed May 27, 2015 5:19 am

hey @Somebody any ideas on how to achieve a top down shockwave?... I've looked into the warp ripple with lens/glass, but it's not quite right...
B
54
S
13
G
7
Posts: 930
Reputation: 8,482

Post » Mon Jun 08, 2015 8:03 pm

jobel wrote:hey @Somebody any ideas on how to achieve a top down shockwave?... I've looked into the warp ripple with lens/glass, but it's not quite right...


I'm also interested in this effect!
I have found code for its implementation but i dont know how to add it to construct.
Here: http://www.geeks3d.com/20091116/shader- ... lter-glsl/

If someone knows please help!

Also, the same page (http://www.geeks3d.com/shader-library/) and this one (http://pixelshaders.com/examples/) have other effects with code that i think may not be so difficult to "port" to construct. Someone interested please check :D
B
8
S
1
Posts: 13
Reputation: 1,187

Post » Mon Jun 08, 2015 8:53 pm

@mattkingz pretty sure you can do that effect with lens/glass and sine... or warp.. not sure but I know it can be done in C2 as is...
B
54
S
13
G
7
Posts: 930
Reputation: 8,482

Post » Wed Jun 17, 2015 6:47 pm

I am using the Q3D plug-in to create a VR game in Contruct2, but the two camera viewports are still missing the necessary barrel distortion to correct the pincushion distortion caused by the lenses of the VR glasses.
Image
I would need a double distortion shader effect that makes both viewports bulge like this:
Image
Has anyone already written an effect like that by any chance?
And if not, would it be possible that one of you did this, please? It's really the only thing that's keeping me and others from releasing VR games made with C2.

PS: I guess parameters like distortion center, bulge height/width and buldge strength for each viewport would be helpful.
B
19
S
5
Posts: 24
Reputation: 2,800

Post » Wed Jun 17, 2015 11:05 pm

@wiimote
Re: VR game in Contruct2

I have been doing a bit of work on Oculus Rift effects, and I made the following C2 capx to perform some tests.
Its not the solution to your request, but you can have a tinker with it if it helps-

Image

https://dl.dropboxusercontent.com/u/22173473/C2_OcRift.rar

Default settings-

left lense right lense
x offset 60 40
y offset 50 50
radius 60 60
scale 30 30

Hope this helps. (requires barreldistort effect)
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Thu Jun 18, 2015 12:17 am

@chrisbrobs
Thank you for your reply and the example capx.
However, as you already suspected, this isn't the solution to my problem, since I cannot address the two Q3D camera viewports as separate objects and apply one bulge to each of them the way you did.
What I need instead is two oval-shaped barrel distortion bulges right next to each other on the same layer. (Namely the layer that contains the Q3DMaster object.) That's what I meant by "double distortion shader."
B
19
S
5
Posts: 24
Reputation: 2,800

Post » Thu Jun 18, 2015 1:15 am

@wiimote

I dont have access to the QU3 Master object. Does it have a 2/splt camera view option?
Have you got a screen shot of the scene?
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Thu Jun 18, 2015 5:53 pm

@chrisbrobs
It's really not that complicated. In your project file you had two objects, one for each lens or camera viewport. And you applied one barrel distortion effect to each of them.
With Q3D I cannot address the left and right lens as separate objects. So what I need is a shader that goes across the entire screen, forming two adjacent bulges.
Image
B
19
S
5
Posts: 24
Reputation: 2,800

Post » Fri Jun 19, 2015 12:40 am

@wiimote

'It's really not that complicated. In your project file you had two objects, one for each lens or camera viewport. And you applied one barrel distortion effect to each of them.
With Q3D I cannot address the left and right lens as separate objects. So what I need is a shader that goes across the entire screen, forming two adjacent bulges.'
------------------------------------------------------
It's not as easy as it sounds!

The Paster plugin might be able to do this. (draw 2 quads with barrel distortion and correct image offset applied)

I will post you an example when I have worked it out.

I do have a 'Displacement effect shader' that will work for this, but I can't release it because I made it for a client.

chrisbrobs
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

PreviousNext

Return to Effects

Who is online

Users browsing this forum: No registered users and 0 guests