|
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)
|
|