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?

The shader code is here:
https://dl.dropboxusercontent.com/u/705 ... tes_crt.fx
https://dl.dropboxusercontent.com/u/705 ... es_crt.xml
Last edited by ErekT on Thu Sep 15, 2016 5:33 am, edited 1 time in total.
B
34
S
15
G
6
Posts: 509
Reputation: 7,326

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
129
S
29
G
77
Posts: 5,192
Reputation: 54,289

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
24
S
3
G
2
Posts: 24
Reputation: 3,548

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
34
S
15
G
6
Posts: 509
Reputation: 7,326

Post » Sat Mar 05, 2016 5:10 am

Thank you! This effect looks just right
B
24
S
3
G
2
Posts: 24
Reputation: 3,548

Post » Sun Mar 27, 2016 7:45 pm

Love it, thanks for sharing!
B
50
S
30
G
22
Posts: 318
Reputation: 15,761

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
43
S
11
G
11
Posts: 1,154
Reputation: 9,938

Post » Wed Jun 01, 2016 8:01 am

Great effect!!!
B
147
S
26
G
17
Posts: 905
Reputation: 32,119

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
13
S
3
G
1
Posts: 55
Reputation: 1,385

Next

Return to Effects

Who is online

Users browsing this forum: No registered users and 0 guests