mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:10:05 +00:00
Implement active box using new draw item on draw layers
This commit is contained in:
parent
999d322985
commit
d30b6d4011
13 changed files with 610 additions and 37 deletions
13
scwx-qt/gl/color.vert
Normal file
13
scwx-qt/gl/color.vert
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 330 core
|
||||
layout (location = 0) in vec3 aVertex;
|
||||
layout (location = 1) in vec4 aColor;
|
||||
|
||||
uniform mat4 uMVPMatrix;
|
||||
|
||||
out vec4 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = uMVPMatrix * vec4(aVertex, 1.0f);
|
||||
color = aColor;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue