MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Luke Nukem
MAME Fan
Reged: 06/11/15
Posts: 14
Send PM
Re: GLSL Shader compile errors.
06/13/15 01:36 PM Attachment: CRT-halation.vsh.zip 4 KB (7 downloads)


> It is really nice, that people start to convert OpenGL shaders and i would not say
> that "It doesn't seem likely that we would need much more than that to be honest."
> because there are at least two or three more shaders, that could be very interesting
> and nice... NTSC-Composite and CRT-Royale coming to my mind. Also vector-shading is a
> thing that needs more attention, but I am on it .

Oh man, do you need any help with that? I'm dying to play Tempest with a decent GLSL pipeline (I refuse to run windows at all these days. Linux only, even on my MSI GS70 Laptop)

> I am at most a novice, when it comes to shaders, but it seems that Timothy Lottes
> shader can also be more optimized. This is what he wrotes me:

I'm a novice also. But also a Computer Science student (first year) at university. Miles ahead of most of the other students in what we have to study (Python is super simple to learn. But writing great code is much harder, and a challenge I enjoy immensely)

> "When creating that and posting it I was hoping that it would get integrated into
> stuff.
> Glad to see someone taking it.
>
> There are a bunch of optimizations possible. For instance I usually separate it into
> 2 passes.
> First pass to do the horizontal blur and enlargement, then the second pass to do the
> vertical blur and enlargement.
> Much faster that way."

I'll definitely have to learn more about shaders. I can't really see how to split them like that.

> Dunno how much of that statement went into the conversion from SoltanGris42.
>
> I hope you will sharing your results with us, it looks very promising.

Sure! Check out my github. I've put the Mame version of Tim's shaders in there (AttractMode FE extras, in dir/ *name*tar.gz)

I did a bunch of comparisons between original, and what I've produced at the end via screenshots. Looks almost exactly the same, but with less calculations going on.

***Also attached current Mame GLSL version of shader. Open the .vsh to fiddle with settings.


Website: Garage Arcades NZ
Twitter
FaceBook







Entire thread
Subject Posted by Posted on
* GLSL Shader compile errors. Luke Nukem 06/12/15 01:40 PM
. * Re: GLSL Shader compile errors. SoltanGris42  06/12/15 08:50 PM
. * Re: GLSL Shader compile errors. Luke Nukem  06/12/15 10:19 PM
. * Re: GLSL Shader compile errors. SoltanGris42  06/12/15 11:43 PM
. * Re: GLSL Shader compile errors. Luke Nukem  06/13/15 12:06 AM
. * Re: GLSL Shader compile errors. SoltanGris42  06/13/15 12:46 AM
. * Re: GLSL Shader compile errors. Ville Linde  06/13/15 07:57 PM
. * Re: GLSL Shader compile errors. R. Belmont  06/13/15 08:34 PM
. * Re: GLSL Shader compile errors. joey35car  06/15/15 12:23 AM
. * Re: GLSL Shader compile errors. B2K24  06/15/15 02:02 AM
. * Re: GLSL Shader compile errors. SoltanGris42  06/15/15 03:13 AM
. * Re: GLSL Shader compile errors. Vas Crabb  06/15/15 04:39 AM
. * Re: GLSL Shader compile errors. Luke Nukem  06/15/15 05:21 AM
. * Re: GLSL Shader compile errors. Dullaron  06/15/15 06:35 AM
. * Re: GLSL Shader compile errors. Luke Nukem  06/15/15 07:20 AM
. * Re: GLSL Shader compile errors. uman  06/15/15 01:55 PM
. * To uman Dullaron  06/16/15 07:04 AM
. * Re: To uman uman  06/16/15 11:08 AM
. * Re: To uman Dullaron  06/16/15 08:04 PM
. * Re: To uman uman  06/16/15 08:41 PM
. * Re: To uman Dullaron  06/16/15 08:47 PM
. * Re: To uman uman  10/01/15 05:55 PM
. * Re: To uman Dullaron  10/02/15 04:22 AM
. * Re: GLSL Shader compile errors. Luke Nukem  06/15/15 10:18 PM
. * Re: GLSL Shader compile errors. joey35car  06/15/15 05:13 AM
. * Re: GLSL Shader compile errors. B2K24  06/15/15 04:31 AM
. * Re: GLSL Shader compile errors. Luke Nukem  06/14/15 09:13 AM
. * Re: GLSL Shader compile errors. SoltanGris42  06/13/15 10:32 PM
. * Re: GLSL Shader compile errors. Luke Nukem  06/13/15 05:55 AM
. * Re: GLSL Shader compile errors. uman  06/13/15 11:44 AM
. * Re: GLSL Shader compile errors. SoltanGris42  06/13/15 10:08 PM
. * Re: GLSL Shader compile errors. Luke Nukem  06/14/15 01:06 AM
. * Re: GLSL Shader compile errors. uman  06/14/15 12:47 AM
. * Re: GLSL Shader compile errors. Luke Nukem  06/13/15 01:36 PM
. * Re: GLSL Shader compile errors. Mamesick  06/13/15 08:36 PM
. * Re: GLSL Shader compile errors. B2K24  06/13/15 08:10 PM
. * Re: GLSL Shader compile errors. B2K24  06/13/15 06:29 PM
. * Re: GLSL Shader compile errors. silkove  06/13/15 08:11 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 285 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 4983