diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/.stationary/Shaders/SimpleLine.glsl | 20 | ||||
-rw-r--r-- | assets/GameRendererBindings.json | 1 | ||||
-rw-r--r-- | assets/Ires/M_DebugWireframe.json | 8 | ||||
-rw-r--r-- | assets/Ires/S_SimpleLine.json | 41 |
4 files changed, 70 insertions, 0 deletions
diff --git a/assets/.stationary/Shaders/SimpleLine.glsl b/assets/.stationary/Shaders/SimpleLine.glsl new file mode 100644 index 0000000..60c23d4 --- /dev/null +++ b/assets/.stationary/Shaders/SimpleLine.glsl @@ -0,0 +1,20 @@ +#type vertex +#version 330 core + +layout(location = 0) in vec3 pos; + +// Autofill uniforms +uniform mat4 transformation; + +void main() { + gl_Position = transformation * vec4(pos, 1.0); +} + +#type fragment +#version 330 core + +out vec4 fragColor; + +void main() { + fragColor = vec4(1.0, 1.0, 1.0, 1.0); +} diff --git a/assets/GameRendererBindings.json b/assets/GameRendererBindings.json new file mode 100644 index 0000000..29d101f --- /dev/null +++ b/assets/GameRendererBindings.json @@ -0,0 +1 @@ +{"WireframeMaterial":[8765761170342665863,6245907801943875283]}
\ No newline at end of file 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 |