added old working project
This commit is contained in:
14
3DViewer/Shader/FragmentTextureShader.mv2shdr
Normal file
14
3DViewer/Shader/FragmentTextureShader.mv2shdr
Normal file
@@ -0,0 +1,14 @@
|
||||
#version 450 core
|
||||
|
||||
// Input
|
||||
in vec2 UV;
|
||||
|
||||
// Ouput data
|
||||
out vec3 color;
|
||||
|
||||
uniform sampler2D textureSampler;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = texture(textureSampler, UV).rgb;
|
||||
}
|
Reference in New Issue
Block a user