File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ float4 main(PixelInputType input) : SV_TARGET
99
99
if (use_sky_background )
100
100
{
101
101
float4 sampledTextureColor = shaderTextures [0 ].Sample (ss , input .tex_coords0 );
102
- final_color .rgb = sampledTextureColor .rgb * 1.4 ;
102
+ final_color .rgb = sampledTextureColor .rgb * 1.1 ;
103
103
}
104
104
105
105
if (use_clouds_0 )
@@ -108,7 +108,7 @@ float4 main(PixelInputType input) : SV_TARGET
108
108
float v = input .tex_coords0 .y ;
109
109
110
110
float4 sampledTextureColor = shaderTextures [1 ].Sample (ss , float2 (u , v ));
111
- final_color .rgb += sampledTextureColor .rgb * sampledTextureColor .a ;
111
+ final_color .rgb += saturate ( sampledTextureColor .rgb ) * sampledTextureColor .a ;
112
112
}
113
113
114
114
if (use_clouds_1 )
@@ -117,7 +117,7 @@ float4 main(PixelInputType input) : SV_TARGET
117
117
float v = input .tex_coords0 .y ;
118
118
119
119
float4 sampledTextureColor = shaderTextures [2 ].Sample (ss , float2 (u , v ));
120
- final_color .rgb += sampledTextureColor .rgb * sampledTextureColor .a ;
120
+ final_color .rgb += saturate ( sampledTextureColor .rgb ) * sampledTextureColor .a ;
121
121
}
122
122
123
123
//if (use_sun)
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ float4 main(PixelInputType input) : SV_TARGET
94
94
if (use_sky_background)
95
95
{
96
96
float4 sampledTextureColor = shaderTextures[0 ].Sample (ss, input.tex_coords0);
97
- final_color.rgb = sampledTextureColor.rgb * 1.4 ;
97
+ final_color.rgb = sampledTextureColor.rgb * 1.1 ;
98
98
}
99
99
100
100
if (use_clouds_0)
@@ -103,7 +103,7 @@ float4 main(PixelInputType input) : SV_TARGET
103
103
float v = input.tex_coords0.y;
104
104
105
105
float4 sampledTextureColor = shaderTextures[1 ].Sample (ss, float2 (u, v));
106
- final_color.rgb += sampledTextureColor.rgb * sampledTextureColor.a;
106
+ final_color.rgb += saturate ( sampledTextureColor.rgb) * sampledTextureColor.a;
107
107
}
108
108
109
109
if (use_clouds_1)
@@ -112,7 +112,7 @@ float4 main(PixelInputType input) : SV_TARGET
112
112
float v = input.tex_coords0.y;
113
113
114
114
float4 sampledTextureColor = shaderTextures[2 ].Sample (ss, float2 (u, v));
115
- final_color.rgb += sampledTextureColor.rgb * sampledTextureColor.a;
115
+ final_color.rgb += saturate ( sampledTextureColor.rgb) * sampledTextureColor.a;
116
116
}
117
117
118
118
//if (use_sun)
You can’t perform that action at this time.
0 commit comments