Trying to add opacity
This commit is contained in:
@@ -34,6 +34,6 @@ float4 fragmentMain(in FragmentParameter params) : SV_Target
|
||||
// gamma correction
|
||||
result = result / (result + float3(1.0));
|
||||
result = pow(result, float3(1.0/2.2));
|
||||
return float4(result, 1.0f);
|
||||
return float4(result, brdf.getAlpha());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user