MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Trebor
MAME Fan
Reged: 01/18/05
Posts: 509
Send PM
Re: Setting bgfx_shadow_mask value in mame.ini
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.







Entire thread
Subject Posted by Posted on
* Setting bgfx_shadow_mask value in mame.ini Dr. Spankenstein 07/07/19 08:39 PM
. * Re: Setting bgfx_shadow_mask value in mame.ini Trebor  07/08/19 05:10 PM
. * Re: Setting bgfx_shadow_mask value in mame.ini Dr. Spankenstein  07/08/19 07:38 PM

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