forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
#version 450
|
||||
|
||||
#include "std/filters.glsl"
|
||||
|
||||
uniform sampler2D tex;
|
||||
uniform vec2 screenSizeInv;
|
||||
|
||||
in vec2 texCoord;
|
||||
out vec4 fragColor;
|
||||
|
||||
void main() {
|
||||
// 4X resolve
|
||||
fragColor = textureSS(tex, texCoord, screenSizeInv / 4.0);
|
||||
}
|
19
leenkx/Shaders/supersample_resolve/supersample_resolve.json
Normal file
19
leenkx/Shaders/supersample_resolve/supersample_resolve.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"contexts": [
|
||||
{
|
||||
"name": "supersample_resolve",
|
||||
"depth_write": false,
|
||||
"compare_mode": "always",
|
||||
"cull_mode": "none",
|
||||
"links": [
|
||||
{
|
||||
"name": "screenSizeInv",
|
||||
"link": "_screenSizeInv"
|
||||
}
|
||||
],
|
||||
"texture_params": [],
|
||||
"vertex_shader": "../include/pass.vert.glsl",
|
||||
"fragment_shader": "supersample_resolve.frag.glsl"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user