RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
224 stars 27 forks source link

How to resolve the Texture to RenderTexture? #1819

Closed hyuhyua closed 2 months ago

hyuhyua commented 2 months ago

The Docs said:"In the near future we plan to add a "Resolve" feature which will resolve the textures to a RenderTexture so that our shaders won't be required." So, If I want to use this feature now, how do I do it?

hyuhyua commented 2 months ago

AVPRO_FEATURE_VIDEORESOLVE Should I open this Define? And then?

Chris-RH commented 2 months ago

Hi @hyuhyua

We have a resolve to render texture component. This component will allow you to specify your own RenderTexture via the Inspector, or via C# scripting using the property ExternalTexture. Otherwise it will generate an internal RenderTexture which you can get via C# usign the property TargetTexture.

hyuhyua commented 2 months ago

Thank you very much!