Unity RenderTexture support

A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

Post Reply
elecman
Licensed Customer
Posts: 43
Joined: Sun Jul 09, 2017 4:27 am
Contact:

A standard Unity material which uses a RenderTexture in one of material texture slot doesn't work (texture ignored). Any chance of supporting this?
User avatar
Xhed
OctaneRender Team
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

There is currently no method in Unity for us to detect when a render texture has been updated (other than checking all pixels every frame, which is too costly), so there is no point in supporting them at this time.
- Rick
elecman
Licensed Customer
Posts: 43
Joined: Sun Jul 09, 2017 4:27 am
Contact:

I know when my own render texture is updated though (every frame), so there are two ways you can easily support this:

-In game mode, assume the render texture is updated every frame and re-render accordingly.
-Provide an API so the user can indicate when a render texture has been updated.

It is important that some form of support for render textures is provided because I use them to render vector graphics for electronic aircraft instruments. The xaml/svg is rendered into a render texture using NoesisGUI.

Image

Any thoughts?
User avatar
Xhed
OctaneRender Team
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

Updating every frame could be a workable approach for when you're recording an animation. During scene editing, this would be problematic since it would cause Octane to restart rendering constantly.
Having an API call could prove to be useful, though you would need a script to update your textures if we go that route.

We need to think carefully about how we want to approach this, so that we can keep it usable and as non-obtrusive as possible.
- Rick
elecman
Licensed Customer
Posts: 43
Joined: Sun Jul 09, 2017 4:27 am
Contact:

I understand. Thanks for considering :-)
Post Reply

Return to “Octane for Unity”