3 GL_ARB_texture_query_levels
5 [vertex shader passthrough]
8 #extension GL_ARB_texture_query_levels: require
12 // The only thing the spec says about textures without a minification filter is:
13 // "If the texture is complete, a non-zero value must be returned."
16 if (textureQueryLevels(s) != 0)
17 gl_FragColor = vec4(0,1,0,0);
19 gl_FragColor = vec4(1,0,0,0);
24 clear color 0.4 0.4 0.4 0
30 texparameter 2D min nearest
31 texparameter 2D mag nearest
34 relative probe rgba (0.5, 0.5) (0, 1, 0, 0)