Merge branch 'blender-v5.0-release'

This commit is contained in:
Miguel Pozo
2025-10-16 20:51:18 +02:00
37 changed files with 72 additions and 72 deletions

View File

@@ -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) {

View File

@@ -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];
}