Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

Issue ID

1056485

Regression

Yes

Wireframe in 'Baked Lightmap' debug mode is not at the correct location

Package: Scriptable Render Pipeline HD

-

When going in Baked Lightmap debug mode, the wireframe is display at a wrong location

Note: Certainly a camera-relative issue
To debug you need to look in Look in `EditorCameraDrawing.cpp`

case kEditorDrawBakedAlbedo:
{
RenderNodeQueuePerformRenderFunction renderStaticLightmap(RenderBakedAlbedo, sharedRendererScene->queue);
RenderLightMapResolution<false, false> renderStaticLightmapResolution(sharedRendererScene->queue);

PerformRenderFunction* rfuncs[] = { &renderStaticLightmap, &renderStaticLightmapResolution };
PreMultiCustomRender(cullResults, renderFlags);
MultiCustomRender(cullResults, rfuncs, ARRAY_SIZE(rfuncs));
PostMultiCustomRender(renderFlags);
DoRenderSelected(cullResults.sceneCullParameters, false);
break;
}

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.