mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:00:08 +00:00
Adding color table layer
This commit is contained in:
parent
5bbfb1ecd9
commit
1c093d01f4
12 changed files with 324 additions and 25 deletions
13
scwx-qt/gl/texture1d.vert
Normal file
13
scwx-qt/gl/texture1d.vert
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 330 core
|
||||
layout (location = 0) in vec2 aVertex;
|
||||
layout (location = 1) in float aTexCoord;
|
||||
|
||||
out float texCoord;
|
||||
|
||||
uniform mat4 uMVPMatrix;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = uMVPMatrix * vec4(aVertex, 0.0f, 1.0f);
|
||||
texCoord = aTexCoord;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue