Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [SOLVED] [Help] How to simulate ScanLine retro??

Author
Message
AliceSim1
5
Years of Service
User Offline
Joined: 15th Oct 2018
Location: Barcelona
Posted: 6th Jan 2020 20:13
Hi everyone,
I would like to know the best way to program and create a painted layer on the screen: retro scanline that can simulate the effect of CRT screens
What can be done?

The author of this post has marked a post as an answer.

Go to answer

Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 6th Jan 2020 20:26 Edited at: 7th Jan 2020 10:28
This post has been marked by the post author as the answer.
Use shader eg https://www.shadertoy.com/view/Mt2XDV



See Attach files.

Attachments

Login to view attachments
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 6th Jan 2020 20:35 Edited at: 7th Jan 2020 22:12
Scanlines Shader

That's an example of a scanline shader placed on a plane you could just use the ps shader if you only want to use on 2D

Edit here is an example applying to a textured 3d object
MerryChristmas Everyone
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 7th Jan 2020 07:49 Edited at: 7th Jan 2020 08:32
shader animated*
See Attach files.



Project:


Scanline.ps

Attachments

Login to view attachments
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 7th Jan 2020 08:23 Edited at: 7th Jan 2020 11:40


See Attach files.

Attachments

Login to view attachments
vennis73
7
Years of Service
User Offline
Joined: 12th Sep 2016
Location:
Posted: 7th Jan 2020 10:22 Edited at: 7th Jan 2020 10:27
@Qugurun nice one !

I addded a little random



edit: increased the delay a bit
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 7th Jan 2020 10:32
vennis73 See https://forum.thegamecreators.com/thread/225656#msg2651896
look at the project, it seems to me an excellent result and I brought the settings to main.agc

Attachments

Login to view attachments
vennis73
7
Years of Service
User Offline
Joined: 12th Sep 2016
Location:
Posted: 7th Jan 2020 10:43
Ah yes, i downloaded the version on the lower post, great effect. Good job.
AliceSim1
5
Years of Service
User Offline
Joined: 15th Oct 2018
Location: Barcelona
Posted: 28th Mar 2020 21:49 Edited at: 29th Mar 2020 11:02
Brilliant!!! perfect!! I have a variety of shader CRT scanline effect to customize !!

Login to post a reply

Server time is: 2024-04-16 17:31:46
Your offset time is: 2024-04-16 17:31:46