Lottes CRT shader conversion (couple of large images)

Share your Construct 2 effect files

Post » Wed Jan 27, 2016 12:03 pm

UPDATED: Check out the last post.

Hello people!

So, like the title suggests, I've been able to convert Timothy Lottes' CRT shader to C2 thanks mostly to Gigatron's very nice conversion tool from this thread:

shader-question_t164408?start=10

Some screenshots of the shader in action:

Image
Image

Image
Image

But there's a problem I need help with: It only seems to like vertical resolutions in the range 256, 512, 768 etc. Anything outside of that and I tend to get ugly double-pixel distortions all over. So, any shader-experts around who'd like to take a look?

UPDATED LINKS 14/9/17 - put these in your effects folder and you're good to go:
https://www.dropbox.com/s/losqzq56msdye ... rt.fx?dl=0
https://www.dropbox.com/s/tsdmg7e6vr5za ... t.xml?dl=0
Last edited by ErekT on Thu Sep 14, 2017 9:10 am, edited 2 times in total.
B
40
S
16
G
6
Posts: 543
Reputation: 7,649

Post » Wed Jan 27, 2016 12:40 pm

* moved to correct section.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,545
Reputation: 60,434

Post » Wed Feb 03, 2016 2:47 pm

This makes my nostalgia quiver.
B
21
S
6
Posts: 77
Reputation: 1,445

Post » Tue Feb 23, 2016 6:07 pm

This is great! Can you make tube distortion adjustable?
B
36
S
5
G
3
Posts: 32
Reputation: 4,571

Post » Sat Feb 27, 2016 1:25 pm

Oh hey, thanks :)

Sure I'll add it in a bit.

In the meantime tho you can turn it on and off in the shader code at this line here:

vec2 warp=vec2(1.0/64.0,1.0/24.0);


If I remember right setting warp = 0 should do it. You can also play around with 1.0/64.0 and 1.0/24.0 to adjust the amount of distortion. Dividing by higher values equal less distortion.
B
40
S
16
G
6
Posts: 543
Reputation: 7,649

Post » Sat Mar 05, 2016 5:10 am

Thank you! This effect looks just right
B
36
S
5
G
3
Posts: 32
Reputation: 4,571

Post » Sun Mar 27, 2016 7:45 pm

Love it, thanks for sharing!
B
71
S
41
G
24
Posts: 356
Reputation: 18,464

Post » Mon Mar 28, 2016 10:11 pm

Great effect! Need to check it out asap :)
Image
Check out our start-up and configure your own helmet in true 3D.
B
44
S
12
G
11
Posts: 1,154
Reputation: 10,063

Post » Wed Jun 01, 2016 8:01 am

Great effect!!!
B
159
S
27
G
17
Posts: 916
Reputation: 32,675

Post » Thu Jun 02, 2016 11:30 pm

Any news on this effect?
It's very promising but right now I can't make it work properly (images are always deformed).

By the way it's possible to convert an emulator shader (CRT-Hylian for Libreto/Retroarch, possibly the best CRT simulator available today) to Construct 2? Thanks! :D
B
22
S
7
G
1
Posts: 63
Reputation: 2,036

Next

Return to Effects

Who is online

Users browsing this forum: No registered users and 0 guests