You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
293 B
11 lines
293 B
12 years ago
|
uniform sampler2D m_Texture;
|
||
|
uniform sampler2D m_CompositeTexture;
|
||
|
varying vec2 texCoord;
|
||
|
|
||
|
void main() {
|
||
|
vec4 texVal = texture2D(m_Texture, texCoord);
|
||
|
vec4 compositeVal = texture2D(m_CompositeTexture, texCoord);
|
||
|
gl_FragColor = mix(compositeVal,texVal,texVal.a);
|
||
|
}
|
||
|
|