copied from the old Ppoject:
shaders, object class Modified to use better names and use Qt things
This commit is contained in:
12
MeshViewerQt/Resources/TextureShader.frag
Normal file
12
MeshViewerQt/Resources/TextureShader.frag
Normal file
@@ -0,0 +1,12 @@
|
||||
#version 450
|
||||
|
||||
// Input
|
||||
in vec2 UV;
|
||||
|
||||
// Output
|
||||
out vec4 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = texture(textureSampler, UV).rgb;
|
||||
}
|
||||
Reference in New Issue
Block a user