Page 1 of 1

CRT-geom Shaders and spotlight issues on Sega Rally

Posted: Tue Jul 30, 2024 7:17 am
by spazmoid
Hi Bart and everyone - thank you for the amazing emulator once again - I love having this running with my steering setup on my M1 and M2 macs - it simply runs like a dream and I'm now an expert on Daytona 2 - can you make a time travel machine so i can go back and show my skills in the arcade :)

I have a couple of questions if possible and not sure whether they can be answered...

1) I use the BGFX - CRT-geom-deluxe shader in MAME to get that curved CRT look on my emulation - is it possible to apply similar shaders on Supermodel - I've tried taking the files from the MAME directory in the GLSI directory for fs_grt-geom.bin and vs_grt-geom.bin and placing them in the directory where the supermodel emulator is and then adding in supermodel.ini under the global settings the following but tbh I'm not really sure what i am doing:

FragmentShader = fs_crt-geom.bin
VertexShader = vs_crt-geom.bin

I have attached both shader files as *.png so they can be uploaded here (just rename them to *.bin)

Files are attached for the shaders

2) Unrelated to question 1 is there a way to fix a weird lighting issue on sega rally that produces a black outline (rather than a faded transparency i suspect) around the headlights/street lights - it only happens at certain angles - see attached screenshot for the actual graphical issue i see (Screenshot 2024-07-30 at 8.10.09 AM.png)

Anyhelp on either issue would be greatly appreciated :)

Thanks All - Mike

Re: CRT-geom Shaders and spotlight issues on Sega Rally

Posted: Tue Jul 30, 2024 9:34 am
by Ian
the weird transparency is simply how the h/w works on the model3 lol

Re: CRT-geom Shaders and spotlight issues on Sega Rally

Posted: Tue Jul 30, 2024 2:00 pm
by spazmoid
Hi Ian,

thanks for confirming the lighting is as should be on my second question - I've just pulled the latest supermodel build form GITHUB for macOS and everything compiled fine except the path for SDL Framework which i corrected using a fix in another thread, however now the shadows under the car on Sega Rally 2 in the latest build are semi missing or aligned incorrectly https://github.com/trzy/Supermodel/issues/171 - I've raised a bug but is there anything i can tweak in the files to correct this?

Also CRT-geom shader - any ideas on this and how to apply / if it can?