mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ | Switched to compute shader
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
#version 330 core
|
||||
layout(location = 0) in vec2 vPos;
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(vPos, 0.0, 1.0);
|
||||
};
|
||||
#version 430 core
|
||||
layout(location = 0) in vec2 aPos;
|
||||
layout(location = 1) in vec2 aTexCoord;
|
||||
|
||||
out vec2 TexCoords;
|
||||
|
||||
void main() {
|
||||
TexCoords = aTexCoord;
|
||||
gl_Position = vec4(aPos, 0.0, 1.0);
|
||||
}
|
Reference in New Issue
Block a user