mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Now using alpha blending for gizmo
This commit is contained in:
@@ -109,6 +109,6 @@ PSOutput main(PSInput input)
|
||||
float4 sampleValue = textures[sourceTextureID].Sample(mySampler, input.UV);
|
||||
float4 sampleValue2 = textures[source2TextureID].Sample(mySampler, input.UV);
|
||||
|
||||
output.oColor0 = sampleValue + sampleValue2;
|
||||
output.oColor0 = lerp(sampleValue, sampleValue2, 1.0 - sampleValue.a);
|
||||
return output;
|
||||
}
|
||||
Reference in New Issue
Block a user