diff options
author | hnOsmium0001 <[email protected]> | 2022-04-17 20:08:57 -0700 |
---|---|---|
committer | hnOsmium0001 <[email protected]> | 2022-04-17 20:08:57 -0700 |
commit | d43508ba4843801cbbf1f42a27af260d4eef5701 (patch) | |
tree | 39c51368cfe8ec097c08f198877cf07e9ff835ee /assets/Shaders/S_Default.json | |
parent | 509201784d6525fc26345e55a56ab81e4a7616b3 (diff) |
Initial work on sprites and texture system
Diffstat (limited to 'assets/Shaders/S_Default.json')
-rw-r--r-- | assets/Shaders/S_Default.json | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/assets/Shaders/S_Default.json b/assets/Shaders/S_Default.json new file mode 100644 index 0000000..df37792 --- /dev/null +++ b/assets/Shaders/S_Default.json @@ -0,0 +1,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" + } + } + ] +}
\ No newline at end of file |