Refactor: change light linking object storage be dynamically allocated #108090

Closed
Brecht Van Lommel wants to merge 128 commits from light-linking-dna into cycles-light-linking

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 5 additions and 0 deletions
Showing only changes of commit c267256f01 - Show all commits

View File

@ -74,6 +74,11 @@ void main()
finalColor = EDIT_MESH_face_color(m_data.x);
bool occluded = true;
# ifdef GPU_METAL
/* Apply depth bias to overlay in order to prevent z-fighting on Apple Silicon GPUs. */
gl_Position.z -= 5e-5;
# endif
#elif defined(FACEDOT)
finalColor = EDIT_MESH_facedot_color(norAndFlag.w);