diff options
| author | Moulberry <james.jenour@student.scotch.wa.edu.au> | 2020-10-31 21:49:14 +1100 |
|---|---|---|
| committer | Moulberry <james.jenour@student.scotch.wa.edu.au> | 2020-10-31 21:49:14 +1100 |
| commit | 431d4a5eca207aa6f86a90e3c4e1912885f115eb (patch) | |
| tree | 8d3bd19ad3d40da034aaca8e2766dadb627bfaf1 /src/main/resources/assets/notenoughupdates/shaders/program/dungeonmap.json | |
| parent | 2397734d98c30a05db58bc6ef67607078889a386 (diff) | |
| download | notenoughupdates-431d4a5eca207aa6f86a90e3c4e1912885f115eb.tar.gz notenoughupdates-431d4a5eca207aa6f86a90e3c4e1912885f115eb.tar.bz2 notenoughupdates-431d4a5eca207aa6f86a90e3c4e1912885f115eb.zip | |
1.4.9
Diffstat (limited to 'src/main/resources/assets/notenoughupdates/shaders/program/dungeonmap.json')
| -rw-r--r-- | src/main/resources/assets/notenoughupdates/shaders/program/dungeonmap.json | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/resources/assets/notenoughupdates/shaders/program/dungeonmap.json b/src/main/resources/assets/notenoughupdates/shaders/program/dungeonmap.json new file mode 100644 index 00000000..bb41ffd5 --- /dev/null +++ b/src/main/resources/assets/notenoughupdates/shaders/program/dungeonmap.json @@ -0,0 +1,19 @@ +{ + "blend": { + "func": "add", + "srcrgb": "srcalpha", + "dstrgb": "1-srcalpha" + }, + "vertex": "dungeonmap", + "fragment": "dungeonmap", + "attributes": [ "Position" ], + "samplers": [ + { "name": "DiffuseSampler" } + ], + "uniforms": [ + { "name": "ProjMat", "type": "matrix4x4", "count": 16, "values": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ] }, + { "name": "OutSize", "type": "float", "count": 2, "values": [ 1.0, 1.0 ] }, + { "name": "InSize", "type": "float", "count": 2, "values": [ 1.0, 1.0 ] }, + { "name": "radiusSq", "type": "float", "count": 1, "values": [ 1.0 ] } + ] +} |
