mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
16 lines
413 B
GLSL
16 lines
413 B
GLSL
|
|
varying float v_diffuse;
|
|
uniform vec3 u_color;
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
/// Fragment Shader - Unlit
|
|
//--------------------------------------------------------------------------------------------------
|
|
void main()
|
|
{
|
|
#ifdef CVF_CHECK_DISCARD_FRAGMENT_IMPL
|
|
checkDiscardFragment();
|
|
#endif
|
|
|
|
gl_FragColor = vec4(u_color*v_diffuse, 1.0);
|
|
}
|