mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-02 22:17:10 +00:00
Update to 1.21.3
This commit is contained in:
1 parent
bc06f67861
commit
8c02fd7430
56 files changed
+609
-573
No files matched your search
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"vertex": "flashback:blit_screen_flip",
|
||||
"fragment": "blit_screen",
|
||||
"vertex": "flashback:core/blit_screen_flip",
|
||||
"fragment": "core/blit_screen",
|
||||
"samplers": [
|
||||
{ "name": "DiffuseSampler" }
|
||||
{ "name": "InSampler" }
|
||||
],
|
||||
"uniforms": [
|
||||
]
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
#version 150
|
||||
|
||||
uniform sampler2D DiffuseSampler;
|
||||
uniform sampler2D InSampler;
|
||||
|
||||
in vec2 texCoord;
|
||||
|
||||
out vec4 fragColor;
|
||||
|
||||
void main() {
|
||||
vec4 color = texture(DiffuseSampler, texCoord);
|
||||
vec4 color = texture(InSampler, texCoord);
|
||||
if (color.a > 0.0) {
|
||||
color.a = 1.0;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"vertex": "flashback:blit_screen_round_alpha",
|
||||
"fragment": "flashback:blit_screen_round_alpha",
|
||||
"vertex": "flashback:core/blit_screen_round_alpha",
|
||||
"fragment": "flashback:core/blit_screen_round_alpha",
|
||||
"samplers": [
|
||||
{ "name": "DiffuseSampler" }
|
||||
{ "name": "InSampler" }
|
||||
],
|
||||
"uniforms": [
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user