How to RTT(Render To Texture)

0

Intro:

Hello Lumberyard Community.

I'm coming from development on another engine and recently discovered lumberyard and how polished it is. I'm trying to port over some functionally and there are a few question I have. I'm mainly wondering if I need to develop something or if its part of the lumberyard core.

Question:

Is it possible to pass a pixel buffer and render to a texture? And are there any examples of doing this? What part of the API should I be looking at? To explain I previously was rendering different cameras and a chromium instance to textures and was wondering if it was possible to do the same.

The only previous reference I found was this post, which doesn't help much:

https://forums.awsgametech.com/t/render-to-texture/1019/1

Hope my question makes sense.

Thanks!

demandé il y a 6 ans174 vues
6 réponses
0
Réponse acceptée

Hi @REDACTEDUSER

I have an experimental version of render to texture that is not part of the engine yet, but I am looking into other options for distributing this code in a way where it won't be supported, but would at least be available for testing by a wider audience. I've created an internal issue to track this request LY-84395.

UPDATE: Lumberyard 1.18 introduces the render to texture component which can be used to draw a scene to a texture https://docs.aws.amazon.com/lumberyard/latest/userguide/component-render-to-texture.html

répondu il y a 6 ans
0

Hi @REDACTEDUSER

Also, we can't access your jira. ;)

Thanks

répondu il y a 6 ans
0

Hi @REDACTEDUSER

répondu il y a 6 ans
0

Thanks @REDACTEDUSER

répondu il y a 6 ans
0

Actually @REDACTEDUSER

répondu il y a 6 ans
0

Thank you for the follow up! Really excited to use the feature. Also really appreciate all the hard-work by the lumberyard team!

répondu il y a 5 ans

Cette publication est fermée : l'ajout de nouvelles réponses, commentaires et votes est désactivé.