clarte53 / GaussianSplattingVRViewerUnity

A VR viewer for gaussian splatting models developped as native plugin for unity with the original CUDA rasterizer.
Other
230 stars 29 forks source link

HDRP issue #11

Closed AlKitChung closed 7 months ago

AlKitChung commented 7 months ago

Hi,

Thank you for creating and sharing the project! I attempted to implement the plugin into an HDRP project, but the Gaussian splatting does not appear in the display. Does the project not support HDRP, and if that's the case, what can I do to make it work? Would the shaders need to be rewritten to function with HDRP?

Peamon commented 7 months ago

Actually i use Blit on Camera to draw the gaussian splatting in OnPostRender (script GaussianSplattingCameraBlit). This method is only compatible with standard pipeline. You have to change that for HDRP and probably rewrite the associated shader.

There is also something to change in GaussianSplatting.cs script because i use OnPreRenderCallback too.

AlKitChung commented 7 months ago

Thank you!!