post processing, FXAA and MSAA 2x-8x
This commit is contained in:
parent
fa266ee48d
commit
8ce30cae83
46 changed files with 1749 additions and 350 deletions
10
resources/EngineResources/shaders/swap_frag.glsl
Normal file
10
resources/EngineResources/shaders/swap_frag.glsl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#version 450
|
||||
layout(location = 0) in vec2 inTextCoord;
|
||||
layout(location = 0) out vec4 outFragColor;
|
||||
|
||||
layout(set = 0, binding = 0) uniform sampler2D albedoSampler;
|
||||
|
||||
void main() {
|
||||
vec3 albedo = texture(albedoSampler, inTextCoord).rgb;
|
||||
outFragColor = vec4(albedo,1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue