aboutsummaryrefslogtreecommitdiff
path: root/assets/Shaders/S_Default.json
blob: df37792589e88f15239b73f6f162215da3ace6ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
    "Inputs": [
        {
            "Semantic": "Position",
            "Name": "pos",
            "ScalarType": "float",
            "Width": 1,
            "Height": 3,
            "OpenGLLocation": 0
        },
        {
            "Semantic": "TexCoords1",
            "Name": "texcoord",
            "ScalarType": "float",
            "Width": 1,
            "Height": 2,
            "OpenGLLocation": 1
        },
        {
            "Semantic": "Color1",
            "Name": "color",
            "ScalarType": "float",
            "Width": 1,
            "Height": 4,
            "OpenGLLocation": 2
        }
    ],
    "Outputs": [
        {
            "Name": "fragColor",
            "ScalarType": "float",
            "Width": 1,
            "Height": 4,
            "OpenGLLocation": 0
        }
    ],
    "Uniforms": [
        {
            "Type": "Math",
            "AutoFill": true,
            "Value": {
                "Name": "transformation",
                "ScalarType": "float",
                "Width": 4,
                "Height": 4
            }
        },
        {
            "Type": "Math",
            "Value": {
                "Name": "taint",
                "Semantic": "Color1",
                "ScalarType": "float",
                "Width": 1,
                "Height": 4
            }
        },
        {
            "Type": "Sampler",
            "Value": {
                "Name": "textureAtlas"
            }
        }
    ]
}