aboutsummaryrefslogtreecommitdiff
path: root/assets/Ires
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-23 22:36:46 -0700
committerrtk0c <[email protected]>2022-05-23 22:36:46 -0700
commite3e848ac4da1c2ae59d93e62da8ef6f87b3452cd (patch)
treef70d86d4ae80f1fedc0afb1ba3b923e3651f0475 /assets/Ires
parent123f741e3f5374b93ac39887b62bfa0d66762ae2 (diff)
Changeset: 37 Branch comment: [] Add infrastructure for rendering wireframe (rendering broken) including saving and loading config files
Diffstat (limited to 'assets/Ires')
-rw-r--r--assets/Ires/M_DebugWireframe.json8
-rw-r--r--assets/Ires/S_SimpleLine.json41
2 files changed, 49 insertions, 0 deletions
diff --git a/assets/Ires/M_DebugWireframe.json b/assets/Ires/M_DebugWireframe.json
new file mode 100644
index 0000000..c610011
--- /dev/null
+++ b/assets/Ires/M_DebugWireframe.json
@@ -0,0 +1,8 @@
+{
+ "Type": "IresMaterial",
+ "Uid": [8765761170342665863, 6245907801943875283],
+ "Value": {
+ "Shader": [677745099593877908, 15625205469120742998],
+ "Fields": []
+ }
+} \ No newline at end of file
diff --git a/assets/Ires/S_SimpleLine.json b/assets/Ires/S_SimpleLine.json
new file mode 100644
index 0000000..c20538d
--- /dev/null
+++ b/assets/Ires/S_SimpleLine.json
@@ -0,0 +1,41 @@
+{
+ "Type": "IresShader",
+ "Uid": [677745099593877908, 15625205469120742998],
+ "Value": {
+ "SourceFile": ".stationary/Shaders/SimpleLine.glsl",
+ "Inputs": [
+ {
+ "Name": "pos",
+ "Semantic": "Position",
+ "OpenGLLocation": 0,
+ "ScalarType": "float",
+ "Width": 1,
+ "Height": 3,
+ "ArrayLength": 1
+ }
+ ],
+ "Outputs": [
+ {
+ "Name": "fragColor",
+ "Semantic": "Generic",
+ "OpenGLLocation": 0,
+ "ScalarType": "float",
+ "Width": 1,
+ "Height": 4,
+ "ArrayLength": 1
+ }
+ ],
+ "Uniforms": [
+ {
+ "Type": "Math",
+ "AutoFill": true,
+ "Value": {
+ "Name": "transformation",
+ "ScalarType": "float",
+ "Width": 4,
+ "Height": 4
+ }
+ }
+ ]
+ }
+} \ No newline at end of file