mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-29 14:17:57 +03:00
13 lines
206 B
Text
13 lines
206 B
Text
![]() |
uniform sampler2D u_DiffuseMap;
|
||
|
|
||
|
varying vec2 var_DiffuseTex;
|
||
|
|
||
|
varying vec4 var_Color;
|
||
|
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vec4 color = texture2D(u_DiffuseMap, var_DiffuseTex);
|
||
|
gl_FragColor = color * var_Color;
|
||
|
}
|