MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

ilya-v
MAME Fan
Reged: 10/12/11
Posts: 8
Send PM
Re: HLSL
10/14/11 01:39 PM


> The 'shadow mask' is applied over the original games resolution right? So if game is
> 320x240 then 'shadow mask' should be 320x240.


Not exactly.

shadow_mask_texture:
Its the "Aperture.png" that determines how the RGB pixel will look like.
Go to the Artwork folder and open aperture.png to see what it looks like.

shadow_mask_alpha:
How strong is the effect of the CRT Pixel filter.
Setting of 0.0 will disable it (make it translucent).
Setting of 1.0 will have 100% effect on the picture like a real CRT tv would have.

shadow_mask_u(v)size:
This option determines what portion of the "Apreture.png" will be actually used.
Try setting shadow_mask_x(y)_count low enough so you'll be able to see the emulated pixel itself, now play with shadow_mask_u(v)size to see its effect.
The setting 0.09375 actually used small portion of the Apreture.png file.

shadow_mask_x(y)_count:
This will determine how many times the processed "Aperture.png" will be duplicated horizontally and vertically.



The current bugs and problems with hlsl is that the current apreture.png is not 3 RGB lines like a pixel should be, so
there is no point of setting the shadow_mask_x(y)_count to the games internal resolution.

More over I tried to make Apreture.png only 3 RGB lines (single pixel),
Now things look a little more accurate pixel-wize but only shadow_mask_Y_count is pixel perfect.
Only shadow_mask_Y_count will display 10 vertical "Apreture.png"'s if set to 10 or 30 for that matter.
Shadow_mask_X_count is buggy it will NOT show the number of "aperture.png"'s you set it to display.
If you set it to 10 it will chop at the right border of the screen and will not display the full 10 pictures.


I hope the developers read this.









Entire thread
Subject Posted by Posted on
* HLSL mesk 09/07/11 09:30 PM
. * HLSL support note R. Belmont  10/14/11 09:37 PM
. * Re: HLSL jclampy  10/14/11 10:59 AM
. * Re: HLSL ilya-v  10/14/11 12:16 PM
. * Re: HLSL jclampy  10/14/11 12:26 PM
. * Re: HLSL ilya-v  10/14/11 12:39 PM
. * Re: HLSL jclampy  10/14/11 12:57 PM
. * Re: HLSL ilya-v  10/14/11 01:39 PM
. * Re: HLSL jclampy  10/14/11 02:23 PM
. * Re: HLSL ilya-v  10/14/11 03:39 PM
. * Re: HLSL ilya-v  10/14/11 06:04 PM
. * Re: HLSL jclampy  10/15/11 12:08 AM
. * Re: HLSL John IV  10/15/11 01:27 AM
. * Re: HLSL jclampy  10/15/11 11:27 PM
. * Re: HLSL Mozii  09/26/11 07:00 AM
. * Re: HLSL B2K24  09/26/11 08:14 AM
. * Re: HLSL mesk  09/26/11 05:52 PM
. * Re: HLSL ilya-v  10/12/11 06:37 PM
. * Re: HLSL jclampy  10/14/11 06:52 AM
. * Re: HLSL ilya-v  10/14/11 09:00 AM
. * Re: HLSL B2K24  10/14/11 08:27 AM
. * Re: HLSL jclampy  10/14/11 10:41 AM
. * Re: HLSL DaffyDuck  09/18/11 04:43 PM
. * Re: HLSL jclampy  09/20/11 10:40 AM
. * Re: HLSL R. Belmont  09/18/11 05:49 PM
. * Re: HLSL Heihachi_73  09/19/11 08:37 AM
. * Re: HLSL DaffyDuck  09/18/11 06:11 PM
. * Re: HLSL Ziggy100  09/18/11 07:19 PM
. * Re: HLSL DaffyDuck  09/18/11 07:35 PM
. * Re: HLSL jclampy  09/17/11 04:55 AM
. * Re: HLSL Zaghadka  09/07/11 10:26 PM
. * Re: HLSL mesk  09/07/11 10:56 PM
. * Re: HLSL TafoidAdministrator  09/08/11 03:58 AM
. * Re: HLSL Acidolitis  09/09/11 03:25 AM
. * Re: HLSL mesk  09/09/11 04:50 AM
. * Re: HLSL Acidolitis  09/10/11 01:28 AM
. * Re: HLSL jufis  09/11/11 04:20 PM
. * Re: HLSL Zaghadka  09/08/11 12:35 AM
. * Re: HLSL Malmanian  09/07/11 10:15 PM

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