Are Shaders possible?

https://github.com/MiSTer-devel/Main_MiSTer/wiki

Moderators: Mug UK, Zorro 2, spiny, Greenious, Sorgelig, Moderator Team

User avatar
nightshadowpt
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 109
Joined: Wed May 10, 2017 5:04 am

Are Shaders possible?

Postby nightshadowpt » Sun Sep 02, 2018 9:42 am

Hi,

I am a big fan of Scanlines, as they provide a smart way to approximate the visual experience on an LCD to what an old CRT used to be. It helps to smooth out the edges and make the games look more "natural" for me. I understand this is a highly debated and personal topic, but still...

Having recently configured a RetroPi in a tabletop arcade machine, I have dabbled with Shaders, and discovered that they can even do a better job at simulating old CRT's than just scanlines.

So my question is, would it be possible to have CRT like shaders implemented in the MiSTer, or is this a feature that cannot be implemented without an operating system like Windows or Linux?

Thanks

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3086
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Are Shaders possible?

Postby Sorgelig » Sun Sep 02, 2018 11:52 am

Shaders is a part of GPU. DE10-nano has no GPU.

User avatar
nightshadowpt
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 109
Joined: Wed May 10, 2017 5:04 am

Re: Are Shaders possible?

Postby nightshadowpt » Mon Sep 03, 2018 4:00 am

Thanks for the quick answer.

What about masks? are they also GPU functions?

I am unaware of how the scanline effect is achieved (is it only ignoring each other line?), but could something similar be built to improve the feeling of a CRT?

Cheers

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3086
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Are Shaders possible?

Postby Sorgelig » Mon Sep 03, 2018 6:16 am

I don't know what mask you mean.
Since FPGA creates the picture and whole schematic, theoretically there is no limit what can you do including GPU re-creation with 3D acceleration, with shaders, etc.
It's mostly limited by your knowledge.. and FPGA size of course.
So, if you want to improve something - learn the FPGA and contribute. Features don't appear just by wish. And i'm not a magician.

User avatar
nightshadowpt
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 109
Joined: Wed May 10, 2017 5:04 am

Re: Are Shaders possible?

Postby nightshadowpt » Mon Sep 03, 2018 12:41 pm

Thank you for clarifying that for me and for all the effort you've put into this project.

Cheers,


Return to “MiSTer”

Who is online

Users browsing this forum: No registered users and 7 guests