Maniphest T95969

Bake to vertex colors completely broken in 3.1 & 3.2
Closed, Resolved

Assigned To
Brecht Van Lommel (brecht)
Authored By
Jan Kadeřábek (jendabek)
Feb 22 2022, 9:41 PM
Tags
  • Render & Cycles
  • BF Blender (3.1)
Subscribers
Antanas (Jakasan)
Brecht Van Lommel (brecht)
Daniele De Luca (sparazza)
Jan Kadeřábek (jendabek)
Mark Arrebola (markybola)
Philipp Oeser (lichtwerk)
Pratik Borhade (PratikPB2123)
2 More Subscribers

Description

System Information
Operating system: Win 10
Graphics card: 980 Ti

Blender Version
Broken: 3.1 beta & 3.2 alpha
Worked: 3.0.1

Caused by rB74afc86d4bf1: Cycles: remove ray offsetting

Baking to vertex colors (for example ambient occlusion) seems to be completely broken since 3.1 beta, as it is producing randomly looking artifacts, nowhere near to expected results.
The same scene & baking / rendering settings works better in 3.0.1 (with smaller bugs).

When rendering to texture, the same setup works correctly even in 3.1 beta & 3.2 alpha.

Exact steps for others to reproduce the error
Open the attached .blend file in 3.0.1 and 3.1 beta / 3.2 alpha, hit Bake and compare results.

Revisions and Commits

rB Blender

Related Objects

Mentioned In
T96009: Baking AO to vertex colours creates a nonsensical mess
Mentioned Here
rB74afc86d4bf1: Cycles: remove ray offsetting
rBc4bedeb0186b: GLShader: Fix crash caused by redundant uniform declaration
rB0379ddac7d68: GPUShaderCreateInfo: Add optionnal check for optimized out resources

Event Timeline

Jan Kadeřábek (jendabek) created this task.Feb 22 2022, 9:41 PM
Jan Kadeřábek (jendabek) updated the task description.
Jan Kadeřábek (jendabek) updated the task description.Feb 22 2022, 9:43 PM
Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).Feb 23 2022, 4:39 AM
Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Confirmed.Feb 23 2022, 4:53 AM
Pratik Borhade (PratikPB2123) added a project: Render & Cycles.
Pratik Borhade (PratikPB2123) added a subscriber: Philipp Oeser (lichtwerk).

Thanks for the report. Can confirm. This got affected between c4bedeb0186b - 0379ddac7d68

@Philipp Oeser (lichtwerk) can you find the exact commit?

Philipp Oeser (lichtwerk) triaged this task as High priority.Feb 23 2022, 10:17 AM
Philipp Oeser (lichtwerk) edited projects, added BF Blender (3.1); removed BF Blender.
Philipp Oeser (lichtwerk) added subscribers: William Leeson (leesonw), Brecht Van Lommel (brecht).

Caused by rB74afc86d4bf1: Cycles: remove ray offsetting

CC @Brecht Van Lommel (brecht)
CC @William Leeson (leesonw)

Philipp Oeser (lichtwerk) updated the task description.Feb 23 2022, 10:17 AM
Steffen Dünner (SteffenD) added a subscriber: Steffen Dünner (SteffenD).Feb 23 2022, 10:32 AM
Raimund Klink (Raimund58) added a subscriber: Raimund Klink (Raimund58).Feb 23 2022, 11:04 AM
Antanas (Jakasan) claimed this task.Feb 23 2022, 1:15 PM
Antanas (Jakasan) added a subscriber: Antanas (Jakasan).

yes the same

Pratik Borhade (PratikPB2123) removed Antanas (Jakasan) as the assignee of this task.Feb 23 2022, 1:18 PM

@Antanas (Jakasan) hi, please don't claim any task unless you are planning to fix them :)

Jan Kadeřábek (jendabek) added a comment.Feb 23 2022, 4:22 PM

Thank you guys for confirming the problem, I just hope somebody will be able to fix this without reverting that "ray offsetting" commit, because it fixes another issue I am facing when baking to vcols (black artifacts when mesh is far from 0). Thank you again!

Pratik Borhade (PratikPB2123) merged a task: T96009: Baking AO to vertex colours creates a nonsensical mess.
Pratik Borhade (PratikPB2123) added a subscriber: Mark Arrebola (markybola).
Daniele De Luca (sparazza) added a subscriber: Daniele De Luca (sparazza).Feb 24 2022, 4:25 PM
Brecht Van Lommel (brecht) closed this task as Resolved by committing rB0781c22ceedc: Fix T95969, T91856: bake AO to vertex color artifacts after ray offset removal.Feb 24 2022, 7:40 PM
Brecht Van Lommel (brecht) claimed this task.
Brecht Van Lommel (brecht) added a commit: rB0781c22ceedc: Fix T95969, T91856: bake AO to vertex color artifacts after ray offset removal.