OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[Qt][OpenGL] Initial support of OpenGL 4.3 Core profile.
[csp-qt/common_source_project-fm7.git]
/
source
/
src
/
qt
/
gui
/
gl4_3
/
normal_fragment_shader.glsl
1
in vec2 v_texcoord;
2
out mediump vec4 opixel;
3
4
uniform sampler2D a_texture;
5
uniform vec4 color;
6
void main ()
7
{
8
opixel = texture(a_texture, v_texcoord) * color;
9
}
10