mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-22 04:49:12 -06:00
Feature/cleanup (#1608)
* Revert screenlog back to showing Info and above messages * Various code cleanup
This commit is contained in:
@@ -24,12 +24,11 @@
|
||||
|
||||
#version __CONTEXT__
|
||||
|
||||
in vec2 Texcoord;
|
||||
|
||||
in vec2 vs_st;
|
||||
out vec4 outputColor;
|
||||
|
||||
uniform sampler2D tex;
|
||||
|
||||
void main() {
|
||||
outputColor = texture(tex, Texcoord);
|
||||
outputColor = texture(tex, vs_st);
|
||||
}
|
||||
|
||||
@@ -25,13 +25,12 @@
|
||||
#version __CONTEXT__
|
||||
|
||||
layout(location = 0) in vec2 position;
|
||||
out vec2 vs_st;
|
||||
|
||||
uniform mat4 ortho;
|
||||
|
||||
out vec2 Texcoord;
|
||||
|
||||
void main() {
|
||||
Texcoord = vec2(position.x + 1.0f, position.y + 1.0f) * 0.5;
|
||||
vs_st = vec2(position.x + 1.0, position.y + 1.0) * 0.5;
|
||||
gl_Position = vec4(position, 0.0, 1.0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user