mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
13 lines
267 B
V Shell
13 lines
267 B
V Shell
attribute vec4 a_position;
|
|
attribute vec2 a_texCoord;
|
|
attribute vec4 a_color;
|
|
|
|
varying vec4 v_fragmentColor;
|
|
varying vec2 v_texCoord;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = CC_PMatrix * CC_MVMatrix * a_position;
|
|
v_fragmentColor = a_color;
|
|
v_texCoord = a_texCoord;
|
|
} |