protot/shaders/debug/fs_debug.sc

15 lines
254 B
Python
Raw Permalink Normal View History

2016-11-27 22:02:17 +01:00
$input v_color0
/*
* Copyright 2011-2015 Branimir Karadzic. All rights reserved.
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
#include "../common/common.sh"
uniform vec4 u_color;
void main()
{
2016-11-27 22:02:17 +01:00
gl_FragColor = u_color * v_color0;
}