MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Dr. Spankenstein
MAME Fan
Reged: 05/15/10
Posts: 77
Send PM


Setting bgfx_shadow_mask value in mame.ini
#383002 - 07/07/19 08:39 PM


I've tried setting the value for bgfx_shadow_mask but I'm not having any luck with this value being picked up by MAME when launched.


bgfx_path bgfx
bgfx_backend auto
bgfx_debug 0
bgfx_screen_chains crt-geom-deluxe
bgfx_shadow_mask slot_2_4x4_rgb.png
bgfx_lut
bgfx_avi_name auto


The value for bgfx_screen_chains is being read and crt-geom-deluxe is being applied to all games by default. However, the shadow mask appears to default to aperture_1_2_bgr which hasn't been set anywhere.

The slot_2_4x4_rbg.png file is located in the artwork\bgfx\chains\crt-geom folder. I have also copied it to the artwork folder but still no luck.

Can anyone please help me out?



Trebor
MAME Fan
Reged: 01/18/05
Posts: 509
Send PM


Re: Setting bgfx_shadow_mask value in mame.ini new [Re: Dr. Spankenstein]
#383004 - 07/08/19 05:10 PM


> I've tried setting the value for bgfx_shadow_mask but I'm not having any luck with
> this value being picked up by MAME when launched.
>
>
> bgfx_path bgfx
> bgfx_backend auto
> bgfx_debug 0
> bgfx_screen_chains crt-geom-deluxe
> bgfx_shadow_mask slot_2_4x4_rgb.png
> bgfx_lut
> bgfx_avi_name auto
>
>
> The value for bgfx_screen_chains is being read and crt-geom-deluxe is being applied
> to all games by default. However, the shadow mask appears to default to
> aperture_1_2_bgr which hasn't been set anywhere.
>
> The slot_2_4x4_rbg.png file is located in the artwork\bgfx\chains\crt-geom folder. I
> have also copied it to the artwork folder but still no luck.
>
> Can anyone please help me out?

%MAME%\bgfx\chains\crt-geom-deluxe.json

Edit the file (I.E. Wordpad, Visual Studio, etc).

Near the bottom, line 231:


Code:

{ "sampler": "mask_texture", "texture": "bgfx/chains/crt-geom/aperture_1_2_bgr.png", "selection": "Shadow mask" },


Change aperture_1_2_bgr.png to slot_2_4x4_rgb.png.



Dr. Spankenstein
MAME Fan
Reged: 05/15/10
Posts: 77
Send PM


Re: Setting bgfx_shadow_mask value in mame.ini new [Re: Trebor]
#383010 - 07/08/19 07:38 PM


Thank you.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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