Skip to content
Snippets Groups Projects

Resolve "SAF-R Module"

Merged Ghost User requested to merge 94-saf-r-module into develop
Compare and
9 files
+ 476
0
Compare changes
  • Side-by-side
  • Inline
Files
9
+ 15
0
 
#version 450
 
#extension GL_ARB_separate_shader_objects : enable
 
 
layout(location = 0) in vec3 fragColor;
 
layout(location = 1) in vec2 texCoord;
 
 
layout(location = 0) out vec3 outColor;
 
 
layout(set=0, binding=0) uniform texture2D tex;
 
layout(set=0, binding=1) uniform sampler textureSampler;
 
 
void main() {
 
outColor = fragColor;
 
outColor = texture(sampler2D(tex, textureSampler), texCoord).rgb;
 
}
 
\ No newline at end of file
Loading