aboutsummaryrefslogtreecommitdiff
path: root/assets/Shaders/Default.json
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-04-10 23:00:36 -0700
committerrtk0c <[email protected]>2022-04-10 23:00:36 -0700
commit17d5b091c9b2901ac96f5eee0da6af07228ae690 (patch)
treec210229c4bee1d3f56a64eacf1f976dfd8f971a7 /assets/Shaders/Default.json
parenta849c199d970e153580c312a24cfdfa099bc7b69 (diff)
Changeset: 5 Add shader and corresponding editor components
Diffstat (limited to 'assets/Shaders/Default.json')
-rw-r--r--assets/Shaders/Default.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/assets/Shaders/Default.json b/assets/Shaders/Default.json
new file mode 100644
index 0000000..d294372
--- /dev/null
+++ b/assets/Shaders/Default.json
@@ -0,0 +1,32 @@
+{
+ "Inputs": [
+ {
+ "Semantic": "Position",
+ "Name": "pos",
+ "ScalarType": "float",
+ "Width": 1,
+ "Height": 3,
+ "ArrayLength": 1,
+ "OpenGLLocation": 0
+ },
+ {
+ "Semantic": "Color1",
+ "Name": "color",
+ "ScalarType": "float",
+ "Width": 1,
+ "Height": 4,
+ "ArrayLength": 1,
+ "OpenGLLocation": 1
+ }
+ ],
+ "Outputs": [
+ {
+ "Name": "fragColor",
+ "ScalarType": "float",
+ "Width": 1,
+ "Height": 4,
+ "ArrayLength": 1,
+ "OpenGLLocation": 0
+ }
+ ]
+} \ No newline at end of file