Merge branch 'master' of https://github.com/Faerbit/swp
This commit is contained in:
commit
d4e38b7a41
@ -38,6 +38,6 @@ void main()
|
||||
}
|
||||
vec3 finalColor = specularColor + diffuseColor + ambientColor;
|
||||
|
||||
vec3 texture = texture(uTexture, vTexCoord).rgb;
|
||||
oColor = vec4(finalColor*texture, 1.0 );
|
||||
vec4 texture = texture(uTexture, vTexCoord).rgba;
|
||||
oColor = vec4(finalColor, 1.0f)*texture;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user