選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

20 行
348 B

#version 100
attribute vec3 vertexPosition;
attribute vec2 vertexTexCoord;
attribute vec3 vertexNormal;
varying vec2 fragTexCoord;
uniform mat4 mvpMatrix;
// NOTE: Add here your custom variables
void main()
{
vec3 normal = vertexNormal;
fragTexCoord = vertexTexCoord;
gl_Position = mvpMatrix*vec4(vertexPosition, 1.0);
}