mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Fix alpha blending for HW transform
This commit is contained in:
1 parent
b6d7127734
commit
79c9c29251
1 file changed
+1
-1
@@ -338,7 +338,7 @@ void GenerateVertexShader(int prim, char *buffer) {
|
||||
if (hasColor) {
|
||||
WRITE(p, " v_color0 = a_color0;\n");
|
||||
} else {
|
||||
WRITE(p, " v_color0 = u_matambientalpha;\n");
|
||||
WRITE(p, " v_color0 += vec4(u_matambientalpha.rgb, 0.0);\n");
|
||||
}
|
||||
if (lmode)
|
||||
WRITE(p, " v_color1 = vec3(0.0, 0.0, 0.0);\n");
|
||||
|
||||
Reference in new issue
Block a user