XV3DGS-UEPlugin icon indicating copy to clipboard operation
XV3DGS-UEPlugin copied to clipboard

Colors not showing correctly in Unreal 5.3.2

Open egmontmayer opened this issue 1 year ago • 6 comments

Thanks for sharing this amazing plugin.

I just wanted to report, that I have tried it with Unreal 5.3.2 and i am experiencing some issues with the color shader:

The splats seam to be present but the colors are not rendered.

Steps to reproduce the behavior:

  1. Install the Plugin and activate it
  2. User plugin to import a PLY file.
  3. Drag imported asset into the open level or open the asset in the BluePrint Editor
  4. I can see the splat but it is grey.

I would expect to see the splat rendering in the viewport.

Screenshots image

Desktop

  • OS: Windows 10
  • Unreal 5.3.2 DirectX 12
  • RTX2080Ti 11G VRAM / Driver Version 536.23

Additional context When opening a splat for the first time in the Blueprint Editor after import, I was able to see the colors for a short moment. (less than a second) before they dissapear.

There is an error in the colose:

LogShaderCompilers: Warning: Failed to compile Material /XV3dGS/M_GS_unlit.M_GS_unlit for platform PCD3D_SM6, Default Material will be used in game. /Engine/Generated/Material.ush:3466:30: warning: implicit truncation of vector type [-Wconversion] PixelMaterialInputs.Opacity = Local12; ^ error: validation errors zzz.dxil:4524:5: error: Opcode Discard not valid in shader model lib_6_6(closesthit). note: at 'call void @dx.op.discard(i32 82, i1 true)' in block '#28' of function '?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFRayTracingIntersectionAttributes@@@Z'. zzz.dxil:4510:5: error: Opcode Discard not valid in shader model lib_6_6(closesthit). note: at 'call void @dx.op.discard(i32 82, i1 true)' in block '#26' of function '?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFRayTracingIntersectionAttributes@@@Z'. Validation failed. D3DCompileToDxil failed. Error code: Unspecified err0r (0x80004005). zzz.dxil:4607:5: error: Opcode Discard not valid in shader model lib_6_6(closesthit). note: at 'call void @dx.op.discard(i32 82, i1 true)' in block '#16' of function '?PathTracingMaterialCHS@@YAXUFPackedPathTracingPayload@@UFRayTracingIntersectionAttributes@@@Z'. zzz.dxil:4593:5: error: Opcode Discard not valid in shader model lib_6_6(closesthit). note: at 'call void @dx.op.discard(i32 82, i1 true)' in block '#14' of function '?PathTracingMaterialCHS@@YAXUFPackedPathTracingPayload@@UFRayTracingIntersectionAttributes@@@Z'. LogSlate: Took 0.000193 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Light.ttf' (167K)

egmontmayer avatar Jan 30 '24 03:01 egmontmayer

same issue, 5.1

lpffernando avatar Feb 19 '24 09:02 lpffernando

I had the same isssue today when triing this stuff the first time. I started a new project and enabled RayTracing. Imported the .ply via XVERSE Plugin und everything looked grey and weirtd. Then i created a new project without raytracing and everything worked.

crabo0om avatar Feb 19 '24 20:02 crabo0om

I had the same isssue today when triing this stuff the first time. I started a new project and enabled RayTracing. Imported the .ply via XVERSE Plugin und everything looked grey and weirtd. Then i created a new project without raytracing and everything worked.

Thank you for your feedback. We have located the problem and will fix it in the next version

lxk121lalala avatar Feb 20 '24 02:02 lxk121lalala

I had the same isssue today when triing this stuff the first time. I started a new project and enabled RayTracing. Imported the .ply via XVERSE Plugin und everything looked grey and weirtd. Then i created a new project without raytracing and everything worked.

thanks, it works!

lpffernando avatar Feb 20 '24 02:02 lpffernando

I had the same isssue today when triing this stuff the first time. I started a new project and enabled RayTracing. Imported the .ply via XVERSE Plugin und everything looked grey and weirtd. Then i created a new project without raytracing and everything worked.

Thank you for your feedback. We have located the problem and will fix it in the next version

Still see this issue with version 1.1.3 .

mebalzer avatar Apr 07 '24 23:04 mebalzer

#31 sounds like the same

pixelpunk-DE avatar Apr 18 '24 15:04 pixelpunk-DE