mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
14 lines
403 B
GLSL
14 lines
403 B
GLSL
|
|
uniform sampler2D u_texture2D;
|
|
uniform float u_alpha;
|
|
|
|
varying vec2 v_texCoord;
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
/// Texture 2D source fragment
|
|
//--------------------------------------------------------------------------------------------------
|
|
vec4 srcFragment()
|
|
{
|
|
return vec4(texture2D(u_texture2D, v_texCoord).rgb, u_alpha);
|
|
}
|