MAMEWorld >> MAME Artwork: Official
View all threads Index   Threaded Mode Threaded  

Pages: 1

lamprey
MAME Fan
Reged: 12/01/11
Posts: 238
Send PM


LAY file brightness
#329084 - 08/02/14 12:29 AM


Is there a way to "dim" a bezel element in a lay file without making it partially see-thought?

I found that I can use an alpha setting on a color element, but it makes the bezel partially see-though. I can't see to finds any other settings like brightness or gamma that do anything.

Does anyone know of a setting that would work like this besides alpha?

For example:

<bezel element="bezel">
<bounds x="0" y="1384" width="4000" height="3561" />
<color alpha="0.75" />
</bezel>


Thanks!



TommyB
MAME Fan
Reged: 06/04/14
Posts: 5
Send PM


Re: LAY file brightness new [Re: lamprey]
#334822 - 12/03/14 04:30 AM


Bump. I'm interested in the same thing - being able to adjust the brightness and contrast levels for bezel art using a configuration parameter instead of modifying the graphic assets.

Thanks to anyone that has any info on this!

Tommy



Comboman
Can't think of a good title
Reged: 12/30/12
Posts: 431
Loc: Halifax, Canada
Send PM


Re: LAY file brightness new [Re: lamprey]
#334853 - 12/04/14 12:46 AM


> Is there a way to "dim" a bezel element in a lay file without making it partially
> see-thought?
>
> I found that I can use an alpha setting on a color element, but it makes the bezel
> partially see-though. I can't see to finds any other settings like brightness or
> gamma that do anything.
>
Make a copy of the bezel image that is all black except for the 100% transparent parts (i.e. the "hole" in middle) and add it to the artwork one layer down from your actual bezel. Now use the alpha setting on the bezel to adjust the "brightness". You're still making it transparent but because there's a black mask underneath, you can't see through it. It should look like this (except I can't figure out how to make greater-than signs that don't get interpreted as html):

{bezel element="black-bezel"}
{bounds x="0" y="1384" width="4000" height="3561" /}
{/bezel}
{bezel element="real-bezel"}
{bounds x="0" y="1384" width="4000" height="3561" /}{color alpha="0.75" /}
{/bezel}


Pages: 1

MAMEWorld >> MAME Artwork: Official
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Mr. Do 
0 registered and 326 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2257