MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

"The Manuel"
Old Fart
Reged: 10/08/03
Posts: 244
Loc: Michigan, USA
Send PM
Migrating old hlsl setup from v0.151 to v0.202
10/27/18 08:03 AM


Ignore this first post. I'm now using the updated HLSL system and looking to migrate it to BGFX (see a couple of posts below)

I've been working on catching up my setup to the latest mame revision but HLSL has changed so much that my old parameters don't work correctly anymore.

My biggest problem at the moment is with the shadow mask. In my old setup, it blended with the scanline and created a CRT monitor effect that I really like. However, now it only changes the color of the image and is otherwise invisible so only scanlines are obvious. I slapped my old setup together from examples from people that knew what they were doing and tweaked a thing or two.

Can somebody help translate my old parameters to the new HLSL system?
I've added both below.

Finally, how do the old "curvature" and "pincushion" correlate with the new distortion, cubic distortion, distort corner, round corner, etc.?

Old HLSL code:


Code:

REMOVED



Edited by "The Manuel" (11/01/18 08:42 PM)







Entire thread
Subject Posted by Posted on
* Migrating old hlsl setup from v0.151 to v0.202 "The Manuel" 10/27/18 08:03 AM
. * Re: Migrating old hlsl setup from v0.151 to v0.202 "The Manuel"  11/01/18 08:39 PM
. * Re: Migrating old hlsl setup from v0.151 to v0.202 anikom15  11/02/18 09:40 PM
. * Re: Migrating old hlsl setup from v0.151 to v0.202 "The Manuel"  11/02/18 09:45 PM
. * Re: Migrating old hlsl setup from v0.151 to v0.202 uman  11/02/18 01:59 PM
. * Re: Migrating old hlsl setup from v0.151 to v0.202 "The Manuel"  11/02/18 02:56 PM
. * Re: Migrating old hlsl setup from v0.151 to v0.202 anikom15  11/02/18 09:44 PM
. * Re: Migrating old hlsl setup from v0.151 to v0.202 "The Manuel"  11/02/18 09:47 PM
. * Re: Migrating old hlsl setup from v0.151 to v0.202 uman  11/02/18 06:59 PM
. * Re: Migrating old hlsl setup from v0.151 to v0.202 "The Manuel"  11/02/18 08:17 PM
. * Re: Migrating old hlsl setup from v0.151 to v0.202 anikom15  10/27/18 09:55 PM

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