git-svn-id: svn://db.shs.com.ru/libs@50 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
7
qglview/shaders/fbo_add.frag
Normal file
7
qglview/shaders/fbo_add.frag
Normal file
@@ -0,0 +1,7 @@
|
||||
#version 150
|
||||
|
||||
uniform sampler2D t0, t1;
|
||||
|
||||
void main(void) {
|
||||
qgl_FragData[0].rgb = texelFetch(t0, ivec2(gl_FragCoord.xy), 0).rgb + texelFetch(t1, ivec2(gl_FragCoord.xy), 0).rgb;
|
||||
}
|
||||
Reference in New Issue
Block a user