mirror of
https://github.com/MiSTer-devel/ShadowMasks_MiSTer.git
synced 2026-05-17 03:04:35 +00:00
Add readme, reorganize folder structure, add retro round dot shadow mask and NECT slot mask (#2)
* 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.
This commit is contained in:
51
README.md
Normal file
51
README.md
Normal file
@@ -0,0 +1,51 @@
|
||||
# Shadow Masks for [MiSTer FPGA](https://github.com/MiSTer-devel/Main_MiSTer/wiki)
|
||||
|
||||
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
|
||||
```
|
||||
11
Shadow_Masks/Misc/NECT Slot Mask.txt
Normal file
11
Shadow_Masks/Misc/NECT Slot Mask.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
# w,h
|
||||
8,6
|
||||
|
||||
# lut
|
||||
4,2,1,0,4,2,1,0
|
||||
4,2,1,0,4,2,1,0
|
||||
4,2,1,0,0,0,0,0
|
||||
4,2,1,0,4,2,1,0
|
||||
4,2,1,0,4,2,1,0
|
||||
0,0,0,0,4,2,1,0
|
||||
|
||||
8
Shadow_Masks/Misc/Round Dot Mask - Brighter.txt
Normal file
8
Shadow_Masks/Misc/Round Dot Mask - Brighter.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# w,h
|
||||
6,4
|
||||
|
||||
# lut
|
||||
3,0,5,0,6,0
|
||||
0,0,0,0,0,0
|
||||
0,6,0,3,0,5
|
||||
0,0,0,0,0,0
|
||||
9
Shadow_Masks/Misc/Round Dot Mask.txt
Normal file
9
Shadow_Masks/Misc/Round Dot Mask.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
# w,h
|
||||
6,4
|
||||
|
||||
# lut
|
||||
4,0,2,0,1,0
|
||||
0,0,0,0,0,0
|
||||
0,1,0,4,0,2
|
||||
0,0,0,0,0,0
|
||||
|
||||
BIN
example.png
Normal file
BIN
example.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 900 B |
Reference in New Issue
Block a user