Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

HDRP and image capture #57

Description

@tvkamara

Hello. Unity's new HD Render Pipeline doesn't have OnRenderImage callback any more as stated here :(https://forum.unity.com/threads/feedback-wanted-scriptable-render-pipelines.470095/page-8)

I am wondering if you are working on a fix to get past this? My own strategy is to use the (also) new PostProcessing v2 stack to capture the image and then your plugin to encode the frames. I've managed to do this - however the GetNativeTexturePtr() part of the code seems to kill performance as it syncs the main thread with the rendering threads I believe.

Have you tried HDRP yet or do you have any idea how to get past the GetNativeTexturePtr() issue.? The value of the pointer doesn't actually change, but if I only read the pointer at Start() - the application will crash.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions