File tree Expand file tree Collapse file tree 9 files changed +66
-2
lines changed
engine/render/assets/shaders Expand file tree Collapse file tree 9 files changed +66
-2
lines changed Original file line number Diff line number Diff line change 1
- #version 450
2
-
3
1
//
4
2
// Copyright (c) 2022 Jonathan Moallem (@jonjondev) & Aryeh Zinn (@Raelr)
5
3
//
8
6
// https://opensource.org/licenses/Zlib
9
7
//
10
8
9
+ #version 450
10
+
11
11
// Per instance data
12
12
layout (location = 0 ) in vec3 inPosition;
13
13
layout (location = 1 ) in vec3 inScale;
Original file line number Diff line number Diff line change
1
+ //
2
+ // Copyright (c) 2022 Jonathan Moallem (@jonjondev) & Aryeh Zinn (@Raelr)
3
+ //
4
+ // This code is released under an unmodified zlib license.
5
+ // For conditions of distribution and use, please see:
6
+ // https://opensource.org/licenses/Zlib
7
+ //
8
+
1
9
#version 450
2
10
3
11
layout (location = 0 ) in vec4 fragColor;
Original file line number Diff line number Diff line change
1
+ //
2
+ // Copyright (c) 2022 Jonathan Moallem (@jonjondev) & Aryeh Zinn (@Raelr)
3
+ //
4
+ // This code is released under an unmodified zlib license.
5
+ // For conditions of distribution and use, please see:
6
+ // https://opensource.org/licenses/Zlib
7
+ //
8
+
1
9
#version 450
2
10
3
11
layout (location = 0 ) in vec3 position;
Original file line number Diff line number Diff line change
1
+ //
2
+ // Copyright (c) 2022 Jonathan Moallem (@jonjondev) & Aryeh Zinn (@Raelr)
3
+ //
4
+ // This code is released under an unmodified zlib license.
5
+ // For conditions of distribution and use, please see:
6
+ // https://opensource.org/licenses/Zlib
7
+ //
8
+
1
9
#version 450
2
10
3
11
layout (location = 0 ) in vec3 fragColor;
Original file line number Diff line number Diff line change
1
+ //
2
+ // Copyright (c) 2022 Jonathan Moallem (@jonjondev) & Aryeh Zinn (@Raelr)
3
+ //
4
+ // This code is released under an unmodified zlib license.
5
+ // For conditions of distribution and use, please see:
6
+ // https://opensource.org/licenses/Zlib
7
+ //
8
+
1
9
#version 450
2
10
3
11
const vec3 OFFSETS[6 ] = vec3 [](
Original file line number Diff line number Diff line change
1
+ //
2
+ // Copyright (c) 2022 Jonathan Moallem (@jonjondev) & Aryeh Zinn (@Raelr)
3
+ //
4
+ // This code is released under an unmodified zlib license.
5
+ // For conditions of distribution and use, please see:
6
+ // https://opensource.org/licenses/Zlib
7
+ //
8
+
1
9
#version 450
2
10
3
11
layout (location = 0 ) in vec2 fragOffset;
Original file line number Diff line number Diff line change
1
+ //
2
+ // Copyright (c) 2022 Jonathan Moallem (@jonjondev) & Aryeh Zinn (@Raelr)
3
+ //
4
+ // This code is released under an unmodified zlib license.
5
+ // For conditions of distribution and use, please see:
6
+ // https://opensource.org/licenses/Zlib
7
+ //
8
+
1
9
#version 450
2
10
3
11
// Per instance data
Original file line number Diff line number Diff line change
1
+ //
2
+ // Copyright (c) 2022 Jonathan Moallem (@jonjondev) & Aryeh Zinn (@Raelr)
3
+ //
4
+ // This code is released under an unmodified zlib license.
5
+ // For conditions of distribution and use, please see:
6
+ // https://opensource.org/licenses/Zlib
7
+ //
8
+
1
9
#version 460
2
10
3
11
layout (location = 0 ) in vec3 fragColor;
Original file line number Diff line number Diff line change
1
+ //
2
+ // Copyright (c) 2022 Jonathan Moallem (@jonjondev) & Aryeh Zinn (@Raelr)
3
+ //
4
+ // This code is released under an unmodified zlib license.
5
+ // For conditions of distribution and use, please see:
6
+ // https://opensource.org/licenses/Zlib
7
+ //
8
+
1
9
#version 460
2
10
3
11
// 'in' keyword specifies that position gets data from a buffer
You can’t perform that action at this time.
0 commit comments