mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-02 06:28:48 +00:00
Removed NativeImage Y flip (moved to gpu)
Removed un-needed framebuffers Removed multi-framebuffer async path and made everything "async"
This commit is contained in:
1 parent
a6493b623c
commit
e208d9babc
5 files changed
+85
-70
No files matched your search
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"vertex": "blit_screen_flip",
|
||||
"fragment": "blit_screen",
|
||||
"samplers": [
|
||||
{ "name": "DiffuseSampler" }
|
||||
],
|
||||
"uniforms": [
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
#version 150
|
||||
|
||||
in vec3 Position;
|
||||
|
||||
out vec2 texCoord;
|
||||
|
||||
void main() {
|
||||
vec2 screenPos = vec2(Position.x, 1-Position.y) * 2.0 - 1.0;
|
||||
gl_Position = vec4(screenPos.x, screenPos.y, 1.0, 1.0);
|
||||
texCoord = Position.xy;
|
||||
}
|
||||
Reference in new issue
Block a user