Files
ResInsight/Fwk/VizFwk/LibRender/glsl/src_TextureRectFromFragCoord_v33.glsl

12 lines
361 B
GLSL

#version 330
uniform sampler2DRect u_texture2DRect;
//--------------------------------------------------------------------------------------------------
/// Texture 2D source fragment
//--------------------------------------------------------------------------------------------------
vec4 srcFragment()
{
return texture(u_texture2DRect, gl_FragCoord.xy);
}