non functional deferred rendering and also camera paths and instanced GUIs
This commit is contained in:
parent
4569b471d5
commit
2d37c574d6
25 changed files with 933 additions and 315 deletions
12
resources/EngineResources/shaders/lighting_frag.glsl
Normal file
12
resources/EngineResources/shaders/lighting_frag.glsl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#version 450
|
||||
|
||||
layout(location = 0) in vec2 inTextCoord;
|
||||
|
||||
layout(location = 0) out vec4 outFragColor;
|
||||
|
||||
layout(set = 0, binding = 0) uniform sampler2D albedoSampler;
|
||||
layout(set = 0, binding = 1) uniform sampler2D depthSampler;
|
||||
|
||||
void main() {
|
||||
outFragColor = vec4(texture(albedoSampler, inTextCoord).rgb, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue