Untitled
raw download clone
TEXT
views 87
,
size 594 b
static const char* tesSource[] = {
			"#version 420 core																			 \n"
			"																							 \n"
			"layout(triangles, equal_spacing, cw) in;													       \n"
			"void main()																				 \n"
			"{																							 \n"
			"    gl_Position = (gl_TessCoord.x * gl_in[0].gl_Position + 									 \n"
			"         			gl_TessCoord.y * gl_in[1].gl_Position +														     			 \n"
			"					gl_TessCoord.z * gl_in[2].gl_Position);																	\n"
			"}																							 \n"
			"																							 \n"
			"																							 \n"
		};
close fullscreen
Login or Register to edit or fork this paste. It's free.