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