We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f371e1 commit af814cbCopy full SHA for af814cb
package/Shaders/GaussianComposite.shader
@@ -35,9 +35,8 @@ Texture2D _GaussianSplatRT;
35
half4 frag (v2f i) : SV_Target
36
{
37
half4 col = _GaussianSplatRT.Load(int3(i.vertex.xy, 0));
38
- col.rgb = GammaToLinearSpace(col.rgb);
39
- col.a = saturate(col.a * 1.5);
40
- return col;
+ col.a = saturate(col.a);
+ return float4(GammaToLinearSpace(col.rgb/col.a),col.a);
41
}
42
ENDCG
43
0 commit comments