Merge branch 'blender-v5.0-release'
This commit is contained in:
@@ -38,7 +38,7 @@ void main()
|
||||
}
|
||||
out_color /= taa_accumulated_weight;
|
||||
/* Exit log2 space used for Anti-aliasing. */
|
||||
out_color = exp2(out_color) - 1.0f;
|
||||
out_color.rgb = exp2(out_color.rgb) - 1.0f;
|
||||
|
||||
/* Avoid float precision issue. */
|
||||
if (out_color.a > 0.999f) {
|
||||
|
||||
@@ -21,7 +21,7 @@ void main()
|
||||
/* Clamp infinite inputs (See #112211). */
|
||||
color = clamp(color, float4(0.0f), float4(1e10f));
|
||||
/* Use log2 space to avoid highlights creating too much aliasing. */
|
||||
color = log2(color + 1.0f);
|
||||
color.rgb = log2(color.rgb + 1.0f);
|
||||
|
||||
frag_color += color * samplesWeights[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user