mirror of
https://github.com/MiSTer-devel/ShadowMasks_MiSTer.git
synced 2026-04-26 03:04:50 +00:00
fe864e31bcc75cdc9928c8dfb9a5214cdc08a9f2
* Add a readme so people know how the shadowmasks work. * Reorganize folder structure to be similar to other repos in the project like this. * Add retro (60's/70's) style CRT shadow mask which used a delta gun and round holes in the mask. * Add a variant of the dot mask above that is brighter which uses MYC colors for people with much darker LCD tv's with CE backlight dimming. * Add @wickerwaka's NECT slot mask he made awhile ago which resembles a popular style of shadow mask.
Shadow Masks for MiSTer FPGA
This repository contains the Shadow Mask files for the MiSTer FPGA.
Instructions
Create a folder named Shadow_Masks in the root of your MicroSD Card along with the other folders like "filters", "games", etc... Place the .txt Shadow Mask files into that folder.
Color Palette
| Color | Value | Bits |
|---|---|---|
| Gray | 0 | 000 |
| Blue | 1 | 001 |
| Green | 2 | 010 |
| Cyan | 3 | 011 |
| Red | 4 | 100 |
| Magenta | 5 | 101 |
| Yellow | 6 | 110 |
| White | 7 | 111 |
Max width = 8
Max Height = 8
How It Works
Here's an example. If you wanted to make RGB dots that use this pattern:
Then you would make a file like this:
# w,h
6,4
# lut
4,4,2,2,1,1
4,4,2,2,1,1
2,1,1,4,4,2
2,1,1,4,4,2
These numbers correspond to the following r, g, b values like this:
r,r,g,g,b,b
r,r,g,g,b,b
g,b,b,r,r,g
g,b,b,r,r,g
Description
Languages
Text
100%
