mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 12:22:35 +00:00
Fixed bug that caused translucent objects to become opaque when full brightness is turned on in Visual Mode
This commit is contained in:
parent
5097550d02
commit
41ee5f66bd
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ float4 ps_main(PixelData pd) : COLOR
|
|||
float4 ps_fullbright(PixelData pd) : COLOR
|
||||
{
|
||||
float4 tcolor = tex2D(texturesamp, pd.uv);
|
||||
tcolor.a *= pd.color.a;
|
||||
|
||||
// Blend texture color and modulation color
|
||||
return tcolor * modulatecolor;
|
||||
|
|
Loading…
Reference in a new issue